Re: [Rd] Detect UCRT-built R from within R sessions (and in configure.win)

2021-09-08 Thread Hiroaki Yutani
Thank you for the prompt reply. > There in not such a mechanism, yet, but can be added, at least for > diagnostics. For example, can R.version somehow contain the information? > We could add support for configure.ucrt, which would take precedence > over configure.win on the UCRT builds (like

Re: [Rd] Detect UCRT-built R from within R sessions (and in configure.win)

2021-09-08 Thread Tomas Kalibera
On 9/8/21 2:08 PM, Hiroaki Yutani wrote: Hi, Are there any proper ways to know whether the session is running on the R that is built with the UCRT toolchain or not? Checking if the encoding is UTF-8 might do the trick, but I'm not sure if it's always reliable. There in not such a mechanism,

[Rd] Detect UCRT-built R from within R sessions (and in configure.win)

2021-09-08 Thread Hiroaki Yutani
Hi, Are there any proper ways to know whether the session is running on the R that is built with the UCRT toolchain or not? Checking if the encoding is UTF-8 might do the trick, but I'm not sure if it's always reliable. Also, I'd like to know if there's any mechanism to detect the UCRT in

Re: [R-pkg-devel] http error handling in packages

2021-09-08 Thread Ivan Krylov
On Wed, 8 Sep 2021 12:02:51 +1200 obrl soil wrote: > I just want to clarify whether the problem is an overly brief error > message, or my use of stop() in this context? I think it's neither: it's perfectly fine to use the R error system to signal being unable to establish function

Re: [R-pkg-devel] http error handling in packages

2021-09-08 Thread Uwe Ligges
On 08.09.2021 02:02, obrl soil wrote: Hello list, my package 'slga' has been flagged for potential removal from CRAN because of the following: Please see the problems shown on . Please correct before 2021-09-19 to safely

[R-pkg-devel] http error handling in packages

2021-09-08 Thread obrl soil
Hello list, my package 'slga' has been flagged for potential removal from CRAN because of the following: > Please see the problems shown on > . > Please correct before 2021-09-19 to safely retain your package on CRAN. > It seems we

Re: [Rd] Should seq.Date() return double storage?

2021-09-08 Thread Kurt Hornik
> Michael Chirico via R-devel writes: > today <- Sys.Date() > typeof(today) > # [1] "double" > typeof(seq(today, by=1, length.out=2)) > # [1] "integer" > Clearly minor as it doesn't seem to have come up before (e.g. coercion > to numeric will happen automatically whenever fractional dates