Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-23 Thread John Clarke
Thank you Dirk and Thibault for your additional tips and ideas. I took a look at the vignette for *rcppcorels* and noted that this is exactly the model/pattern I used to create my package. And it appears that the /src files are simply copied from the external *corels* C++ library into the rcppcore

Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-23 Thread Jonathan Berrisch
Hi John, first of all: I'm not an expert on this and don't really know if there is a recommended way. However, you may look at my 'rcpptimer' package and how it includes 'cpptimer' as a submodule. You can find the repository here: https://github.com/BerriJ/rcpptimer And here you can see 'c

Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-23 Thread John Clarke
Thanks Jonathan, this is helpful. I'm just a bit concerned based on other comments that submodules might not be compatible with CRAN and/or other CI runners. Plus, I only want a few cpp files copied over. On Thu, Jan 23, 2025 at 3:19 PM Jonathan Berrisch wrote: > Hi John, > > first of all: I'm n

Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-23 Thread Dirk Eddelbuettel
On 21 January 2025 at 12:04, Jonathan Berrisch wrote: | first of all: I'm not an expert on this and don't really know if there | is a recommended way. | | However, you may look at my 'rcpptimer' package and how it includes | 'cpptimer' as a submodule. | | You can find the repository here: htt

[R-pkg-devel] Pre-test failure with RcppParallel on Windows R-devel

2025-01-23 Thread Murray Efford via R-package-devel
Submitting secr 5.2.0 I get this pre-test installation ERROR which is opaque to me. I haven't changed the relevant code, and the package passes checks on Winbuilder (below) and other systems (with a false positive URL fail NOTE). * checking whether package 'secr' can be installed ... ERROR Insta

Re: [R-pkg-devel] Pre-test failure with RcppParallel on Windows R-devel

2025-01-23 Thread Kevin Ushey
Hi Murray, (repeating some of the conversation we had off-list) Sorry for the trouble -- I was just in the process of submitting RcppParallel to CRAN, and the first submission I made had this same issue. That should now be fixed up with RcppParallel 5.1.10, which is now on CRAN. Hopefully your ne