Re: [Rd] Cryptic error message from namespaceExport

2019-09-21 Thread Michael Lawrence via R-devel
Thanks. The error message will now say: undefined exports: class inla Will check-in after running more tests. On Fri, Sep 6, 2019 at 10:19 AM Thierry Onkelinx wrote: > Dear Michael, > > my package has setOldClass("inla") and the NAMESPACE > contains exportClasses(inla) and importFrom(INLA, in

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-21 Thread Laurent Gautier
Thanks to all that looked at it and tried to answer. I am reporting here what I found in the end, in the hope it helps someone with a similar issue solve it quicker than I solved the one I had: Having int R_NaInt; rather than extern int R_NaInt; in the header / C definitions of the cffi inter

Re: [Rd] Should slot<-() alter its first argument?

2019-09-21 Thread Michael Lawrence via R-devel
The core of Bioconductor and the methods package itself once took advantage of this "feature" to avoid unnecessary duplication. Since the introduction of shallow copying, those abuses have been removed. Note that these assignment functions always have issues due to optimizations that assume <-() i