Displaying 1 result from an estimated 1 matches for "check_doc_size".
Did you mean:
check_doc_file
2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
...rt
* checking sizes of PDF files under 'inst/doc' ... NOTE
Unable to find GhostScript executable to run checks on size reduction
Setting 'R_GSCMD' to "gswin32c.exe" and asserting that it is the PATH
(this is on Windows), it works.
TROUBLESHOOTING:
In the local function check_doc_size() of tools:::.check_packages()
[cf. http://svn.r-project.org/R/trunk/src/library/tools/R/check.R],
the Ghostscript executable is retrieved as:
gs_cmd <- find_gs_cmd(Sys.getenv("R_GSCMD", ""))
and if nzchar(gs_cmd) is FALSE, then the 'R CMD check' NOTE appears.
Insp...