Skip to content
Prev 58379 / 63424 Next

How to find detritis rejected by "R CMD check" on Debian?

On 17/04/2020 10:14 a.m., Spencer Graves wrote:
That would have resulted from running the example in ?fdaMatlabPath.

You could stop that from happening in a test by using

if (interactive())
   fdaMatlabPath()

but it still potentially wipes out a user's file.  Can't you ask the 
user for the filename to write to, and have the example write to 
tempdir() instead of the current directory?

Duncan Murdoch