Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Gabriel Becker
Hmm, that's fair enough Ben, I stand corrected. I will say that this seems to be a pretty "soft" recommendation, as these things go, given that it isn't tested for by R CMD check, including with the -as-cran extensions. In principle, it seems like it could be, similar checks are made in package co

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Dirk Eddelbuettel
On 4 May 2021 at 14:10, Gabriel Becker wrote: | A couple of things. Firstly, so far asI have ever heard, it's valid that a | package have hard dependencies in its tests for packages listed only in | Suggests. In fact, that is one of the stated purposes of Suggests. An | argument could be made, I

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Ben Bolker
Sorry if this has been pointed out already, but some relevant text from https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Suggested-packages > Note that someone wanting to run the examples/tests/vignettes may not have a suggested package available (and it may not even be possib

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Gabriel Becker
Hi Henrik, A couple of things. Firstly, so far asI have ever heard, it's valid that a package have hard dependencies in its tests for packages listed only in Suggests. In fact, that is one of the stated purposes of Suggests. An argument could be made, I suppose, that the base packages should be u

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Henrik Bengtsson
Two questions to R Core: 1. Is R designed so that 'recommended' packages are optional, or should that be considered uncharted territories? 2. Can such an R build/installation be validated using existing check methods? -- Dirk, it's not clear to me whether you know for sure, or you draw conclus

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Dirk Eddelbuettel
On 4 May 2021 at 11:25, Henrik Bengtsson wrote: | FWIW, | | $ ./configure --help | ... | --with-recommended-packages | use/install recommended R packages [yes] Of course. But look at the verb in your Subject: no optionality _in testing_ there. You obviously need to

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Henrik Bengtsson
FWIW, $ ./configure --help ... --with-recommended-packages use/install recommended R packages [yes] /Henrik On Tue, May 4, 2021 at 11:17 AM Dirk Eddelbuettel wrote: > > > On 4 May 2021 at 11:07, Henrik Bengtsson wrote: > | Thanks, but I don't understand. That's what

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Dirk Eddelbuettel
On 4 May 2021 at 11:07, Henrik Bengtsson wrote: | Thanks, but I don't understand. That's what I usually do when I build | R with 'recommended' packages. But here, I explicitly do *not* want | to build and install 'recommended' packages with the R installation. | So, I'm going down the --without-

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Henrik Bengtsson
Thanks, but I don't understand. That's what I usually do when I build R with 'recommended' packages. But here, I explicitly do *not* want to build and install 'recommended' packages with the R installation. So, I'm going down the --without-recommended-packages path on purpose and I'm looking for a

Re: [Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Dirk Eddelbuettel
On 4 May 2021 at 09:31, Henrik Bengtsson wrote: | I'm on Linux (Ubuntu 18.04). How do I check an R build when using | --without-recommended-packages? 'make check' assumes 'recommended' | packages are installed, so that fails without them available. [...] | BTW, isn't this a bug? Shouldn't this

[Rd] Testing R build when using --without-recommended-packages?

2021-05-04 Thread Henrik Bengtsson
I'm on Linux (Ubuntu 18.04). How do I check an R build when using --without-recommended-packages? 'make check' assumes 'recommended' packages are installed, so that fails without them available. DETAILS: When I build R from source without 'recommended' packages: curl -O https://cran.r-project.or

Re: [Rd] Inconsistency in median()

2021-05-04 Thread Martin Maechler
> Gustavo Zapata Wainberg > on Mon, 3 May 2021 20:48:49 +0200 writes: > Hi! > I'm wrinting this post because there is an inconsistency > when median() is calculated for even or odd vectors. For > odd vectors, attributes (such as labels added with Hmisc) > are kept