Skip to content
Prev 5814 / 12125 Next

[R-pkg-devel] Error in CHECK caused by dev.off()

Hi David,

David Cortes wrote on 2020-07-23 13:16:
THX; I missed that! However, the policy continues:
"Limited exceptions may be allowed in interactive sessions if the 
package obtains confirmation from the user."
IMHO, this is applicable here (i.e., the user _should_ specify a 
directory (as recommended in the man-pages), and only if none is 
provided, a warning is issued and confirmation obtained).
If I would use tempdir() and the user forgets to copy the result files 
to another location and closes the console, everything would be lost and 
the user would have to start again from scratch. I think that this is 
not very user-friendly.

Helmut