You might be able to find where the error occurred by putting the following lines in ~/.Rprofile
cat("~/.Rprofile: setting alternate error handler\n") options( error=quote({ dump.frames() writeLines(c("Stack trace", paste0(" ",names(last.dump))))})) Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Jun 10, 2019 at 6:38 AM Rob Foxall <rfoxal...@gmail.com> wrote: > Hi, > > (Re-posting here as per advice from r-help) > > I've got an R package that I periodically create in what I assume is > an old-fashioned way: > > Within R: use "package.skeleton" > Outside of R: update e.g. .rd files as appropriate > Command window: run the following commands > R CMD build packageName > R CMD check packageName > R CMD INSTALL --build packageName > > I am now getting an error on the R CMD build stage. Initially I had > wanted to remove a package dependency (by not passing some functions > to package.skeleton and editing my NAMESPACE and DESCRIPTION file > appropriately), but on getting the error I tried to revert everything > back to my last successful build (Feb 2019), however, the error > persisted: > R CMD build packageName > * checking for file 'packageName/DESCRIPTION' ... OK > * preparing 'packageName' : > * checking DESCRIPTION meta-information ... OK > * checking for LF line-endings in source and make files > * checking for empty or unneeded directories > * looking to see if a 'data/datalist' file should be added > Error in if (any(update)) { : missing value where TRUE/FALSE needed > Execution halted > > I am guessing that the error could be due to any of the last three > lines that don't have an "OK", but I am completely stuck as to how to > narrow it down further, and Dr. Google has already failed me. > > Using R version 3.6.0, R tools version 3.5.0.4 (I don't recall if had > different versions previous time I built this package in Feb 2019). > Attempt to reproduce error with dummy package failed (i.e. no issues > with R CMD build). > > Cheers, > Rob. > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel