You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relying on ii) also violates Tomas Kalibera's suggestion on [callee-protection](https://blog.r-project.org/2019/04/18/common-protect-errors/)
Historically, some core R API functions are callee-protect, they protect their own arguments and keep them protected for the whole duration of their call. It is better not to rely on this property, but it is often done and rchk tries to detect callee-protect functions and not report an error.
CRAN_Release specifically calls out our assumption that we don't need to PROTECT() objects passed to setAttrib(), but a note in {rchk} calls out that we shouldn't do so.
The text was updated successfully, but these errors were encountered:
Originally posted by @ben-schwen in #6265 (comment)
CRAN_Release specifically calls out our assumption that we don't need to
PROTECT()
objects passed tosetAttrib()
, but a note in {rchk} calls out that we shouldn't do so.The text was updated successfully, but these errors were encountered: