[R-pkg-devel] How to run R CMD CHECK with the installation directory set to read-only ?

2025-01-29 Thread Craig Gower-Page
Hi, A package of ours had its test code throw an error during its R CMD CHECK on CRAN due to it attempting to write files to the installation directory. We were wondering how best to replicate this test on our local machines as we are unable to see any direct options / flags / hooks within R CMD C

Re: [R-pkg-devel] Slow down of as.POSIXct() when converting numeric data with origin specified

2025-01-29 Thread Enrico Schumann
On Wed, 29 Jan 2025, Vincent van Hees writes: > Hello, > I am trying to make the as.POSIXct() calls in my R package (GGIR) backward > compatible with R 4.2.0 (from 2022) by always adding the origin = > "1970-01-01" argument to the as.POSIXct() calls. However, this causes a > substantial slow down

Re: [R-pkg-devel] Date of CRAN checks

2025-01-29 Thread Simon Urbanek
Lluís, the timestamps are generated by the CRAN server when it updates webpage from the actual check reports so it does not reflect the date/time of the check itself (neither does the timestamp of the URL as it is often re-generated). So in short, no, there is no way to know the timestamp of th

[R-pkg-devel] Date of CRAN checks

2025-01-29 Thread Lluís Revilla
Dear list, Recently after a package update I noticed an ERROR on one flavor. I believe this is some problem with the r-release-macos-x86_64 flavor. But I'm not sure if this is fixed on the system or not. I was waiting to see if this got fixed with time (and thanks to the CRAN volunteers). A check

[R-pkg-devel] Slow down of as.POSIXct() when converting numeric data with origin specified

2025-01-29 Thread Vincent van Hees
Hello, I am trying to make the as.POSIXct() calls in my R package (GGIR) backward compatible with R 4.2.0 (from 2022) by always adding the origin = "1970-01-01" argument to the as.POSIXct() calls. However, this causes a substantial slow down when converting vectors of numeric time: > time = Sys.ti

Re: [R-pkg-devel] Assistance with 'Surv' and 'is.Surv' Error in check_win_devel

2025-01-29 Thread Uwe Ligges
Issue found and fixed: someone else submitted some broken survival for the on demand checks which was stuck in the on demand library. You should be able to resubmit without issues now. Best, Uwe On 29.01.2025 13:52, Gabriel Constantino Blain wrote: Dear Dr. Uwe Ligges, I tried at least 5 ti

Re: [R-pkg-devel] Assistance with 'Surv' and 'is.Surv' Error in check_win_devel

2025-01-29 Thread Gabriel Constantino Blain
Dear Dr. Uwe Ligges, I tried at least 5 times. Please se below the message I just got from winbuilder. Best Gabriel Blain Dear package maintainer, this notification has been generated automatically. Your package SPIChanges_0.0.0.9000.tar.gz has been built (if working) and

Re: [R-pkg-devel] Assistance with 'Surv' and 'is.Surv' Error in check_win_devel

2025-01-29 Thread Uwe Ligges
Have you tried at least twice? If it persists, please let me know and forward the message you got from winbuilder. Best, Uwe Ligges On 28.01.2025 15:47, Ivan Krylov via R-package-devel wrote: В Tue, 28 Jan 2025 10:01:00 + Gabriel Constantino Blain пишет: When I run check_win_devel() on