Displaying 1 result from an estimated 1 matches for "codedir".
Did you mean:
code_dir
2001 Nov 06
1
R CMD check, undoc and package checking
...se(file, n, text, prompt) : syntax error on line 932
Error in undoc(dir = "/home/a296180/tmp/pyri.port") :
cannot source package code
Again, I am sent to line 932, but still don't know what file to look
in. Looking into the undoc code, I see (line 455-458):
if (file.exists(codeDir <- file.path(dir, "R"))) {
codeFile <- tempfile("Rbuild")
on.exit(unlink(codeFile))
codeExts <- c("R", "r", "S", "s", "q")
It seems like the on.exit command is key. The error is in co...