[R-pkg-devel] cmake_path on r-*-macos-arm64

2025-03-22 Thread matthias-gondan
Dear CRAN people, and R package developers, since the last update, the CRAN tests of my package for r-*-macos-arm64 complain about the use of a function called cmake_path, which according to docs has been introduced in cmake 3.20 in 2021 (?). Is it an option to update cmake on the respective tes

Re: [R-pkg-devel] CMake on CRAN Systems

2024-01-17 Thread Matthias Gondan
AN(WORDS_BIGENDIAN) SET(CMAKE_TRY_COMPILE_TARGET_TYPE ${CMAKE_TRY_COMPILE_TARGET_TYPE_SAVE}) endif() > Gesendet: Mittwoch, 17. Januar 2024 um 16:52 Uhr > Von: "Uwe Ligges" > An: "Matthias Gondan" , "Sameh Abdulah" > > Cc: "R Package Development"

Re: [R-pkg-devel] CMake on CRAN Systems

2024-01-17 Thread Matthias Gondan
For package rswipl, cmake still seems to work, but * one has to search for it on MacOS, see the src/Makevars, as well as the relevant sections in Writing R extensions * Windows Defender (also on CRAN) complains about dubious exe-files when checking the "endianness" of the target system. That can

Re: [R-pkg-devel] CXX_VISIBILITY on macOS

2023-10-08 Thread Matthias Gondan
You found the problem, thanks! Matthias, this has nothing to do with R, but rather your code. You have the wrong order of headers: the SWI headers mess up visibility macros, so you have to include them *after* Rcpp.h. Cheers, Simon [[alternative HTML version deleted]]

[R-pkg-devel] CXX_VISIBILITY on macOS

2023-10-08 Thread Matthias Gondan
Dear developers and CRAN people, I get some linker warnings on the macOS build server, ld: warning: direct access in function '…' from file '…' to global weak symbol '…' from file '…' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units be

Re: [R-pkg-devel] Are the CRAN macOS builders down?

2023-05-27 Thread matthias-gondan
Unsure if related, but the CRAN check system r-release-macos-x86_64 is lagging behind, no updates since a few weeks E.g. here (among others)https://cran.r-project.org/web/checks/check_results_rolog.htmlPackage version is still 0.9.12Best regards Matthias  Ursprüngliche Nachricht ---

Re: [R-pkg-devel] Sanitize Input Code for a Shiny App

2023-03-01 Thread Matthias Gondan
think about it and I’ll come back if I happen to put together a proof of concept. Best wishes, Matthias Von: Tomas Kalibera Gesendet: Mittwoch, 1. März 2023 09:01 An: Matthias Gondan; Bill Denney Cc: R Package Devel Betreff: Re: [R-pkg-devel] Sanitize Input Code for a Shiny App On 3/1/23 07:35

Re: [R-pkg-devel] Sanitize Input Code for a Shiny App

2023-02-28 Thread Matthias Gondan
For the record, here's the documentation of the Prolog sandbox, https://www.swi-prolog.org/pldoc/doc/_SWI_/library/sandbox.pl You get an idea of the implementation by clicking at the ":-" icons. It does not seem too complicated, but I might be too optimistic. It would be very nice to have such

Re: [R-pkg-devel] Sanitize Input Code for a Shiny App

2023-02-26 Thread Matthias Gondan
Hi Bill, just for the records, the response could also be interesting for learnr developers https://github.com/rstudio/learnr Best wishes, Matthias Von: b...@denney.ws Gesendet: Sonntag, 26. Februar 2023 20:36 An: r-package-devel@r-project.org Betreff: [R-pkg-devel] Sanitize Input Code for a

Re: [R-pkg-devel] replacements of sprintf in compiled code

2023-01-21 Thread Matthias Gondan
I think the function is more than 20 years old https://en.cppreference.com/w/c/io/fprintf Von: Holger Hoefling Gesendet: Samstag, 21. Januar 2023 11:37 An: Duncan Murdoch Cc: R Package Development Betreff: Re: [R-pkg-devel] replacements of sprintf in compiled code Hi, thanks for the tip! Is t

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

2022-11-11 Thread matthias-gondan
Hi Florian, I am doing something similar with Swi-Prolog. Feel free to contact me if needed. My steps were:Get swipl to compile on Windows,  MSYS2, then Rtools4.2.Then, an R package rswipl that just includes the swipl runtime for those people who don't have swipl installed. Then (basically right

Re: [R-pkg-devel] How to write a 'cases' environment in .Rd files?

2022-09-09 Thread matthias-gondan
I am currently developing an R package that translates R expressions to Html and Latex, things like dbinom(x, size, prob) to P\left(x; N, \pi\right)Generation of Rd files may be an interesting use case. It's still at an early stage, I appreciate contributions and interesting feature requests.gi