On 20.01.2016 08:42, Sven E. Templer wrote:
Hello everybody,

i uploaded a package to the win-builder.r-project.org (R-devel) and received a 
00check.log that NOTifiEs about missing visible global functions. Please see
http://win-builder.r-project.org/WZnnzaSqBse4/00check.log
at the lines following:
* checking R code for possible problems ... NOTE

This is not happening on local Darwin and Linux (64bit) (R 3.2.3) checks, nor 
on the win-builder R-release, e.g. see
http://win-builder.r-project.org/a83iezxtXSg4/00check.log

Despite, on both win-builder checks, I recognized errors (not on local Darwin 
and Linux) running examples that print latex code (see the logs from above).

Two questions:

a) Is the 'missing global functions' issue in win-builder R-devel a planned 
change in the R future release, so one will need to import base functions in 
future, or is it an unsolved issue in the developmental stage?


No, this is a new and important check that we forgot in previous releases of R. Hence R-release is wrong not to warn about it.


b) Is it (also for Linux and Darwin) suggested to '\dontrun{}' examples with 
standard output (esp. in latex code)?

No, it is suggested not to hardcode paths such as "/tmp" that are not available under, e.g., Windows. You can write to tempdir().

Best,
Uwe Ligges



Many thanks for enlightening me,
Sven
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to