Re: [R-pkg-devel] R CMD build: "Error in if (any(update))"

2019-06-11 Thread Rob Foxall
Thanks for the replies. I am still stuck, although agree it is most likely due to change to R version 3.6.0. I did however manage to create a dummy package that now does re-create the same error, this required the inclusion of a data object. The R CMD build error occurs regardless of whether there

Re: [R-pkg-devel] R CMD build: "Error in if (any(update))"

2019-06-11 Thread Rob Foxall
Thanks. I ran in R: devtools::build("myPackage") That gave me a warning: NB: this package now depends on R (>= 3.5.0) WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects