Re: [Rd] Apple M1 CRAN checks

2021-02-22 Thread Travers Ching
Hi Prof Ripley, Here is the automated message from CRAN which I thought meant needing to fix an M1 issue: "The auto-check found additional issues for the *last* version released on CRAN: M1mac CRAN incoming checks do not test for these a

Re: [Rd] Apple M1 CRAN checks

2021-02-22 Thread Prof Brian Ripley
On 22/02/2021 08:30, Travers Ching wrote: I noticed CRAN is now doing checks against Apple M1, and some packages are failing including a dependency I use. I don't know what this refers to: M1 Mac CRAN checks are planned but AFAICS not yet included in the main results tables. OTOH, 'Additiona

Re: [Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

2021-02-22 Thread Hervé Pagès
Hi Martin, It kind of does make sense to issue the warning when **recycling** (and this is consistent with what happens with recycling in general): > matrix(1:4, 6, 6) [,1] [,2] [,3] [,4] [,5] [,6] [1,]131313 [2,]242424 [3,]3

Re: [Rd] sprintf, check number of parameters

2021-02-22 Thread Duncan Murdoch
This is ugly, but I think it's legal, and it doesn't trigger a warning: output unused parameters as zero-length strings: msnx(T0, mask = '%1$.1f (SD=%2$.1f)%3$.0s%4$.0s') Perhaps an example using %.0s could be included to show how to skip a value. Duncan Murdoch On 22/02/2021 5:06 a.m., Tom

Re: [Rd] sprintf, check number of parameters

2021-02-22 Thread Tomas Kalibera
Dear Matthias, On 2/6/21 2:11 PM, Matthias Gondan wrote: Dear developers, This is a follow-up from an earlier mail about warnings of unused arguments in sprintf: 1. This should obviously raise an error (and it does): sprintf('%i %i', 1) Fehler in sprintf("%i %i", 1) : zu wenig Argumente [= to

[Rd] Apple M1 CRAN checks

2021-02-22 Thread Travers Ching
I noticed CRAN is now doing checks against Apple M1, and some packages are failing including a dependency I use. Is building on M1 now a requirement, or can the check be ignored? If it's a requirement, how can one test it out? Travers [[alternative HTML version deleted]] ___