Newly seen in version 8.0.0 and reproducible with current 8.0.0.9000. Data set documentation with an implicit call to print() under @examples, i.e., just the <object name> is replaced by a call to data(<object name>) in the generated .Rd file. In a package configured with LazyLoad this generates one warning for each call to data(<object name>) from R check, locally and in Winbuilder. This can be surprising and confusing, as the warnings are triggered on the first time the documentation is regenerated after updating to 'roxygen2' to version 8.0.0. I do not see this change mentioned in the NEWS or in updated documentation.
Is there a way of disabling this behaviour for data set documentation other than replacing all implicit print() calls by explicit ones?
Newly seen in version 8.0.0 and reproducible with current 8.0.0.9000. Data set documentation with an implicit call to
print()under@examples, i.e., just the<object name>is replaced by a call todata(<object name>)in the generated .Rd file. In a package configured withLazyLoadthis generates one warning for each call todata(<object name>)from R check, locally and in Winbuilder. This can be surprising and confusing, as the warnings are triggered on the first time the documentation is regenerated after updating to 'roxygen2' to version 8.0.0. I do not see this change mentioned in the NEWS or in updated documentation.Is there a way of disabling this behaviour for data set documentation other than replacing all implicit
print()calls by explicit ones?