[Rd] How to find detritis rejected by "R CMD check" on Debian?
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Fri Apr 17 16:32:43 CEST 2020
This should probably have been addressed to R-pkg-devel, not Rd.
On Fri, 17 Apr 2020 09:14:44 -0500
Spencer Graves <spencer.graves using prodsyse.com> wrote:
> Found the following files/directories:
> ‘fdaMatlabPath.m’
This is not the "detritus in the temp directory"; the message is related
to the previous line in the log:
>> * checking for non-standard things in the check directory ... NOTE
I searched the repo for the file name in question and got a few hits
[1]. R CMD check runs the \examples{}, including those in
man/fdaMatlabPath.Rd. The function from R/fdaMatlabPath.R, called from
the examples, writes a file in the current directory [2], which
happens to be the check directory during R CMD check. In order to
conform to the CRAN policy, the function should receive the target file
name as a parameter instead, and the example should pass a file path
somewhere in tempdir().
--
Best regards,
Ivan
[1] https://github.com/JamesRamsay5/fda/search?q=fdaMatlabPath.m
[2]
https://github.com/JamesRamsay5/fda/blob/ca077f87f69efcfc434eeea39f4fff6136fcfaeb/R/fdaMatlabPath.R#L33
More information about the R-devel
mailing list