[R-pkg-devel] Best practices for PKG_LIBS and PKG_CPPFLAGS

2021-04-01 Thread Siddhartha Bagaria
Hello, I have an atypical use case in which I have a build system that can build C shared libraries that will be used by the native code in an R package, and build both C libraries and R packages in one user command. As these shared libraries are specified

Re: [R-pkg-devel] Lazy data compression for packages without data folder

2021-04-01 Thread Jeff Newmiller
I don't think those settings apply to that file. Search for "sysdata.rda" in [1]. [1] https://cran.r-project.org/doc/manuals/r-release/R-exts.html On April 1, 2021 3:11:17 AM PDT, Peter Ruckdeschel wrote: >Hi, > >I just noticed that, last week-end, R CMD build was changed to remove

Re: [R-pkg-devel] Lazy data compression for packages without data folder

2021-04-01 Thread Peter Ruckdeschel
Thanks, Jeff, that was helpful ... Best, Peter Am 01.04.2021 um 18:04 schrieb Jeff Newmiller: > I don't think those settings apply to that file. Search for "sysdata.rda" in > [1]. > > [1] https://cran.r-project.org/doc/manuals/r-release/R-exts.html > > On April 1, 2021 3:11:17 AM PDT, Peter

[R-pkg-devel] Error on Solaris 10 'memory not mapped'

2021-04-01 Thread Zhang, Wan
Hello, In our package �BET� version 0.3.4 published on 2021-03-21, there is a �memory not mapped� error on Solaris 10. https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/BET-00check.html I tried to replicate this error with R-hub but it works well. What can I do to simulate CRAN�s

Re: [R-pkg-devel] Error on Solaris 10 'memory not mapped'

2021-04-01 Thread Dirk Eddelbuettel
On 1 April 2021 at 18:39, Zhang, Wan wrote: | Hello, | | In our package �BET� version 0.3.4 published on 2021-03-21, there is a �memory not mapped� error on Solaris 10. | | https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/BET-00check.html | | I tried to replicate this error with

Re: [R-pkg-devel] Error on Solaris 10 'memory not mapped'

2021-04-01 Thread Bill Dunlap
Have you run the offending examples under valgrind on Linux with gctorture(TRUE)? -Bill On Thu, Apr 1, 2021 at 11:51 AM Zhang, Wan wrote: > > Hello, > > In our package “BET” version 0.3.4 published on 2021-03-21, there is a > “memory not mapped” error on Solaris 10. > >

[R-pkg-devel] Lazy data compression for packages without data folder

2021-04-01 Thread Peter Ruckdeschel
Hi, I just noticed that, last week-end, R CMD build was changed to remove ‘LazyData’ and ‘LazyDataCompression’ fields from the ‘DESCRIPTION’ file of packages without a ‘data’ directory. Now, in our package "RobAStRDA" published on CRAN in version 1.2.0 2019-03-11, we deliberately do have a