Re: [R-pkg-devel] "Writing R Extensions" manual needs update [was: Error handling in C code]

2024-06-26 Thread Agner Fog
not?). - Agner On 25/06/2024 14.57, Tomas Kalibera wrote: On 6/24/24 09:45, Agner Fog wrote: On 24/06/2024 08.56, Tomas Kalibera wrote: In principle it is the NEWS file that gives hints about important changes and then one can find the details in Writing R Extensions.  The NEWS file as of

Re: [R-pkg-devel] "Writing R Extensions" manual needs update [was: Error handling in C code]

2024-06-24 Thread Agner Fog
On 24/06/2024 08.56, Tomas Kalibera wrote: In principle it is the NEWS file that gives hints about important changes and then one can find the details in Writing R Extensions.  The NEWS file as of mid-April says that "R CMD check --as-cran" will compile C++ code with -DR_NO_REMAP. And then in

[R-pkg-devel] "Writing R Extensions" manual needs update [was: Error handling in C code]

2024-06-23 Thread Agner Fog
Jarrod Hadfield wrote: > Using Rf_error() rather than error() fixed the problem. Not sure why the > problem was only flagged on Debian, but it > seems to have been triggered by R_NO_REMAP being defined (which will be > default in R 4.5.0). I had the same problem. A lot of functions in my packag

Re: [R-pkg-devel] Windows binary package not at mirrors

2024-06-23 Thread Agner Fog
alled version of R, or you may use an older version of the package. Do you want to compile the package?" - Agner On 23/06/2024 14.48, Duncan Murdoch wrote: On 2024-06-23 8:01 a.m., Agner Fog wrote: Also, I think the system should recommend to the user to update RStudio when a pack

Re: [R-pkg-devel] Windows binary package not at mirrors

2024-06-23 Thread Agner Fog
Also, I think the system should recommend to the user to update RStudio when a package is not available for the installed version. The current message does not tell the cause of the problem. It just says: Do you want to install from sources the package which needs compilation? - Agner _

Re: [R-pkg-devel] Windows binary package not at mirrors

2024-06-23 Thread Agner Fog
On 23/06/2024 09.56, Duncan Murdoch wrote: CRAN only builds Windows binaries for the devel version, the current release, and the previous release, so nothing older than 4.3.0 will get it. Thank you. Updating R helped. BTW, I don't think we need so many mirrors. They were needed only a long

Re: [R-pkg-devel] Windows binary package not at mirrors

2024-06-22 Thread Agner Fog
nt mirrors. On 2024-06-22 3:36 a.m., Agner Fog wrote: I received this message 3 days ago: Your package BiasedUrn_2.0.12.tar.gz has been built for Windows and will be published within 24 hours in the corresponding CRAN directory. However, when I try to load the package, I get this message: D

[R-pkg-devel] Windows binary package not at mirrors

2024-06-22 Thread Agner Fog
I received this message 3 days ago: Your package BiasedUrn_2.0.12.tar.gz has been built for Windows and will be published within 24 hours in the corresponding CRAN directory. However, when I try to load the package, I get this message: Do you want to install from sources the package which nee