Check for and fix common mistakes in .Rprofile
files.
check(all = FALSE, fix = TRUE, backup = TRUE, debug = FALSE)
Should all or only the first entry on the R startup search path be checked?
If TRUE
, detected issues will be tried to be automatically
fixed, otherwise not.
If TRUE
, a timestamped backup copy of the original file is
created before modifying it, otherwise not.
If TRUE
, debug messages are outputted, otherwise not.
R-devel thread 'Last line in .Rprofile must have newline (PR#4056)', 2003-09-03, https://stat.ethz.ch/pipermail/r-devel/2003-September/027457.html