Re: [R-pkg-devel] R, Rust and CRAN

2022-11-11 Thread Florian Rupprecht
le who don't have swipl installed. Then > (basically right now, not yet on CRAN), an R package that does the > interface between R and swipl (either installed on the system or the R > package.Best wishes Matthias > Ursprüngliche Nachricht ----Von: Florian Rupprecht

[R-pkg-devel] R, Rust and CRAN

2022-11-11 Thread Florian Rupprecht
Hi all, Are there any current recommendations on integrating Rust (and Cargo, its official package manager) in an R package complying to CRAN's policies? To be clear: This question is not about how to integrate Rust in the package, it is about how to do it without creating friction with the CRAN

Re: [R-pkg-devel] Compiled code should not call non-API entry points in R

2022-11-04 Thread Florian Rupprecht
When a public C interface is missing you could always load and call the R interface. Definitely slower, but the API will be more stable than when vendoring (and CRAN will be happier). Best, Florian On Fri, Nov 4, 2022, 02:10 Andrew Simmons wrote: > Hi everyone, > > > I had some R code for de

[R-pkg-devel] Optional system/C++ library

2021-03-30 Thread Florian Rupprecht
Hi Team, I am trying to add an optional system/C++ library to my package and was wondering if anyone could point me in the right direction on how to do this in the R package ecosystem. To be concrete, I want my graphics device package httpgd to be able to call into imagemagick/magick++ to add ima

Re: [R-pkg-devel] Solaris x68 and C++17

2021-01-19 Thread Florian Rupprecht
script to yours if it's needed. Thanks for the code snippets. Glad you liked it! Florian Tue, Jan 19, 2021, 18:26 Dirk Eddelbuettel wrote: > > On 19 January 2021 at 17:45, Florian Rupprecht wrote: > | Hello, > | > | the CRAN checks show an error for my newly released package

[R-pkg-devel] Solaris x68 and C++17

2021-01-19 Thread Florian Rupprecht
Hello, the CRAN checks show an error for my newly released package 'httpgd' with 'r-patched-solaris-x86': Error: C++17 standard requested but CXX17 is not defined It seems like 'rcppsimdjson' had the same problem ( https://github.com/eddelbuettel/rcppsimdjson/issues/7) and worked around it by di

[R-pkg-devel] Windows R CMD check warning using Boost Beast

2020-11-30 Thread Florian Rupprecht
Dear package development mailing list, I am trying to publish my package httpgd (https://github.com/nx10/httpgd) which includes Boost Beast to CRAN but I am struggling to solve a CMD check warning: * checking whether package 'httpgd' can be installed ... WARNING Found the following significant wa