[R-pkg-devel] CMake on CRAN Systems

2024-01-16 Thread Sameh Abdulah
Hi All, We recently encountered an installation issue with our package on CRAN. We've been depending on CMake, assuming it is readily available by default, but it appears to be only available on the M1mac system but not on the others. Should we include the CMake installation within our package?

[R-pkg-devel] CMake on CRAN Systems

2024-01-16 Thread Ivan Krylov via R-package-devel
Dear Sameh, Regarding your question about the MPCR package and the use of CMake : on a Mac, you have to look for the cmake executable in more than one place because it is not guaranteed to be on the $PATH. As de

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

2024-01-17 Thread Matthias Gondan
t; An: "R Package Development" > Betreff: [R-pkg-devel] CMake on CRAN Systems > > Hi All, > > We recently encountered an installation issue with our package on CRAN. We've > been depending on CMake, assuming it is readily available by default, but it > appears to be on

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

2024-01-17 Thread Tomas Kalibera
On 1/17/24 08:37, Sameh Abdulah wrote: Hi All, We recently encountered an installation issue with our package on CRAN. We've been depending on CMake, assuming it is readily available by default, but it appears to be only available on the M1mac system but not on the others. Should we include

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

2024-01-17 Thread Uwe Ligges
sure if my response is specific to your problem, but the links below do not seem to work. Gesendet: Mittwoch, den 17.01.2024 um 08:37 Uhr Von: "Sameh Abdulah" An: "R Package Development" Betreff: [R-pkg-devel] CMake on CRAN Systems Hi All, We recently encountered an insta

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 Simon Urbanek
I had a quick look and that package (assuming it's https://github.com/stsds/MPCR) does not adhere to any rules from R-exts (hence the removal from CRAN I presume) so the failure to detect cmake is the least problem. I would strongly recommend reading the R documentation as cmake is just the wr

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

2024-01-17 Thread Reed A. Cartwright
I think this is the same group that advertised an R package template a while back that also clearly didn't follow R-exts rules or use any of the best practices mentioned on this mailing list. https://github.com/stsds/Template-Rcpp On Wed, Jan 17, 2024 at 3:24 PM Simon Urbanek wrote: > > I had a