Re: [R-pkg-devel] troubleshooting hard-to-reproduce errors

2019-01-08 Thread IƱaki Ucar
On Tue, 8 Jan 2019 at 08:39, Sebastian Meyer wrote: > > To fix method lookup for R >= 3.6.0, you can use delayed S3 method > registration along the lines of: > > if (getRversion() >= "3.6.0") { > S3method(pkg::gen, cls) > } And to add this automatically to your NAMESPACE with roxygen2, you may

Re: [R-pkg-devel] troubleshooting hard-to-reproduce errors

2019-01-07 Thread Sebastian Meyer
These issues originate in a change in how R looks for S3 methods, at least on some of the CRAN machines. To reproduce locally, you currently need to set the environnment variable _R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_=TRUE See the source code at

[R-pkg-devel] troubleshooting hard-to-reproduce errors

2019-01-07 Thread Ben Bolker
My colleagues and I are preparing a new submission of a package for CRAN (https://github.com/glmmTMB/glmmTMB/tree/master/glmmTMB). We've tested it on all the platforms we have access to: Travis/Linux (devel and release), MacOS (release), Ubuntu 16.04 (release), win-builder (devel and release),