Re: [R-pkg-devel] Replacement for SETLENGTH

2025-01-14 Thread Iris Simmons
Hi Merlise! Referring to here: https://github.com/wch/r-source/blob/8ca367db0c94194f07ee7bcf4b883e9c5dc11e02/src/main/builtin.c#L832 It seems as though the object is only re-used if the new length is equal to the old length. If you use Rf_lengthgets, you will need to protect the return value.

[R-pkg-devel] Replacement for SETLENGTH

2025-01-14 Thread Merlise Clyde, Ph.D.
I am trying to determine the best way to eliminate the use of SETLENGTH to truncate over allocated vectors in my package BAS to eliminate the NOTES about non-API calls in anticipation of R 4.5.0. >From WRE: "At times it can be useful to allocate a larger initial result >vector and resize it to

Re: [R-pkg-devel] SystemRequirements & configure check for FFTW with single precision support

2025-01-14 Thread Simon Urbanek
Lukas, I have not seen the communication so I'm not commenting on that specifically, I only looked at the GitHub link. Although your configure could be improved (more below), it works well enough to detect fftw3f. Unfortunately, SystemRequirements don't have a well-defined structure, but ther

Re: [R-pkg-devel] Vignette build issue on Debian platform

2025-01-14 Thread Jisca Huisman
Hi Graeme, There is only one function in my package that uses multiple cores: bootSE(). However, this function is not called in any of my vignettes because it is computationally expensive. The Rmd code has `eval = FALSE` options for all of these cases. Therefore, I am at a loss as to why these v

[R-pkg-devel] Vignette build issue on Debian platform

2025-01-14 Thread Graeme Hickey
Dear all, I recently made some minor updates to the joineRML R package to squash some CRAN CMD check NOTEs that have emerged over the past couple of years. After resubmitting to CRAN, a new NOTE appeared on the Debian platform only: > package joineRML_0.4.7.tar.gz does not pass the incoming ch