Re: [R-pkg-devel] clang11 CRAN check and use of Eigen

2020-05-12 Thread Steven Scott
The errors are all around std::ostream. My guess is that Eigen is missing an #include. The missing include was probably included transitively in earlier versions of clang, but clang11 cleaned up some files that didn't need that include themselves, and the downstream file got broken as a result.

[R-pkg-devel] clang11 CRAN check and use of Eigen

2020-05-12 Thread Chris Paciorek
As of some point recently (at least since January) our package (nimble) is being flagged by CRAN's clang11 check. The check reports various errors when compiling one of our C++ files that makes use of code from the Eigen C++ package, which we include with our package. Here's the report from CRAN:

Re: [R-pkg-devel] [BULK] Re: [Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

2020-05-12 Thread Uwe Ligges
Spencer, I guess you have 64 bit components on the path before the new toolchain is found. Also check at first if you can load rJava both under 32-bit RGui and 64-bit RGui. If this does not help: Can you send me privately the full output (i.e. including check.log and also install.out

Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Cantin, Alan (NRCan/RNCan)
Hello, Yes thanks, I was able to figure out that I can (and should) remove documentation for these files. This solved my issue and thank you for taking the time to respond. Cheers, Alan Cantin Original message From: Ma�lle SALMON Date: 2020-05-12 4:24 a.m. (GMT-05:00)

Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Maëlle SALMON via R-package-devel
Hello, I don't think you have to (and shouldn't?) document raw data. However, you can use it in examples/tests/etc. using the system.file() command you mention. But maybe you want to export the data? In that case it should be under data/. This chapter of the R packages book might be useful

Re: [R-pkg-devel] CensSpatial package error.

2020-05-12 Thread Maëlle SALMON via R-package-devel
I just wanted to add that is an interesting read on the topic. :-) Den lördag 2 maj 2020 18:27:29 CEST, Max Turgeon skrev: Hi Jos�, The error message is pretty clear: Error in if

Re: [R-pkg-devel] Is there an Rtools40 changelog?

2020-05-12 Thread Jeroen Ooms
On Sun, May 10, 2020 at 11:31 PM James Lamb wrote: > > Hello, > > I am a maintainer on the LightGBM project, focused on that project's R > package. The R package is not available on CRAN yet (we are working on it), > so for now our users must build it from source. > > The package includes

Re: [R-pkg-devel] [BULK] Re: [Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

2020-05-12 Thread Spencer Graves
Hi, Simon et al. [changing to "R-package-devel, because I've heard complaints that this may not be appropriate for R-devel.]   I'm still having problems.  I found that I had Java twice in the path and deleted both versions (~\AdoptOpenJDK\jdk-11.0.6.10-hotspot\bin and

Re: [R-pkg-devel] Documentation for non-user-level objects

2020-05-12 Thread Maëlle SALMON via R-package-devel
I see you already got useful answers, but here is a further resource: I wrote a blog post about internal functions earlier this year Best wishes Maëlle. Den söndag 10 maj 2020 23:32:00 CEST, Sapphire Zhou skrev: I met a problem