Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-21 Thread Martin Maechler
> Abby Spurdle > on Tue, 21 Jan 2020 09:15:39 +1300 writes: >> I do want to entice people to have a long look beyond closed >> source OS into the world of Free Software where not only R is >> FOSS (Free and Open Source Software) but (all / almost) all the >> tools you

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-20 Thread Abby Spurdle
> I do want to entice people to have a long look beyond closed > source OS into the world of Free Software where not only R is > FOSS (Free and Open Source Software) but (all / almost) all the > tools you use are of that same spirit. > > Best, > Martin I've reconsidered. You're 100% correct. I'm

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-15 Thread Iñaki Ucar
A bit off-topic, but... On Wed, 15 Jan 2020 at 05:45, Abby Spurdle wrote: > > > Which version of Fedora are you on? > > I've got Fedora 31. > I just checked, and R 3.6.2 is available now. R 3.6.2 was submitted a month ago for testing and reached stable 19 days ago [1]. At any time, you can see w

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Ralf Stubner
On Wed, Jan 15, 2020 at 5:45 AM Abby Spurdle wrote: > ...however, there's another problem. > > From the dependencies: > R-java x86_64 3.6.2-1.fc31 updates 10 k > R-java-devel x86_64 3.6.2-1.fc31 updates 9.9 k > java-1.8.0-openjdk x86_64 1:1.

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Abby Spurdle
> Which version of Fedora are you on? I've got Fedora 31. I just checked, and R 3.6.2 is available now. Progress... ...however, there's another problem. >From the dependencies: R-java x86_64 3.6.2-1.fc31 updates 10 k R-java-devel x86_64 3.6.2-1.fc31

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Henrik Bengtsson
On Tue, Jan 14, 2020 at 1:32 PM Marc Schwartz via R-devel wrote: > > > On Jan 14, 2020, at 3:29 PM, Abby Spurdle wrote: > > > >> I do want to entice people to have a long look beyond closed > >> source OS into the world of Free Software where not only R is > >> FOSS (Free and Open Source Software

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Marc Schwartz via R-devel
> On Jan 14, 2020, at 3:29 PM, Abby Spurdle wrote: > >> I do want to entice people to have a long look beyond closed >> source OS into the world of Free Software where not only R is >> FOSS (Free and Open Source Software) but (all / almost) all the >> tools you use are of that same spirit. > > A

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Dirk Eddelbuettel
On 15 January 2020 at 09:29, Abby Spurdle wrote: | Recently, I tried to install R on Fedora. | However, it only gave me the option of downloading and installing R | 3.6.1, when the current release is/was R 3.6.2. | I decided to wait, and may try again later, over the next week. | | Is it possibl

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Abby Spurdle
> I do want to entice people to have a long look beyond closed > source OS into the world of Free Software where not only R is > FOSS (Free and Open Source Software) but (all / almost) all the > tools you use are of that same spirit. And while everyone is talking about operating systems... Recent

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-14 Thread Martin Maechler
> Avraham Adler > on Mon, 13 Jan 2020 14:38:12 -0500 writes: > Those of us stuck on Windows but who attempt to develop properly are > wounded to the quick, sir! > :) > Avi Indeed, you had a ' :) ' , but others have perceived this as an insult. I'm really really sorr

Re: [Rd] as-cran issue, SOLVED

2020-01-13 Thread Dirk Eddelbuettel
On 13 January 2020 at 14:51, Therneau, Terry M., Ph.D. wrote: | 3. Dirk gave good input about the flags in R CMD check and how to find them.   One more | line in the "Writing R Extensions" manual would have been helpful, namely that many of the | options are NOT available in the options() com

Re: [Rd] as-cran issue, SOLVED

2020-01-13 Thread Therneau, Terry M., Ph.D. via R-devel
Thank you to all who replied with helpful suggestions.   I had to run off to meetings and talks for a bit so am now processing it all. 1. It turns out that the issue was not with coxme, but with bsdmatrix, a package that coxme calls.  It just happens to have a function ismat() with the same ge

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-13 Thread Avraham Adler
Those of us stuck on Windows but who attempt to develop properly are wounded to the quick, sir! :) Avi On Mon, Jan 13, 2020 at 12:24 PM Martin Maechler wrote: > > Ben Bolker > > on Mon, 13 Jan 2020 11:49:09 -0500 writes: > > > From R NEWS (changes in 3.6.0) > > Experimental

Re: [Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

2020-01-13 Thread Martin Maechler
> Ben Bolker > on Mon, 13 Jan 2020 11:49:09 -0500 writes: > From R NEWS (changes in 3.6.0) > Experimentally, setting environment variable _R_CHECK_LENGTH_1_LOGIC2_ > will lead to warnings (or errors if the variable is set to a ‘true’ > value) when && or || encounter an

Re: [Rd] as-cran issue

2020-01-13 Thread Duncan Murdoch
On 13/01/2020 11:02 a.m., Therneau, Terry M., Ph.D. via R-devel wrote: Where can I find out (and replicate) what options as-cran turns on? The issue: the following lines generate an error in R CMD check --as-cran  for coxme.  But there is no error without as-cran nor is there one when I run the

Re: [Rd] as-cran issue

2020-01-13 Thread Ben Bolker
From R NEWS (changes in 3.6.0) Experimentally, setting environment variable _R_CHECK_LENGTH_1_LOGIC2_ will lead to warnings (or errors if the variable is set to a ‘true’ value) when && or || encounter and use arguments of length more than one. On 2020-01-13 11:46 a.m., Therneau, Terry M., Ph.D.

Re: [Rd] as-cran issue

2020-01-13 Thread Therneau, Terry M., Ph.D. via R-devel
Thanks for the feedback Dirk. I sent my follow-up before I saw it. Looking at the source code, it appears that there is no options() call to turn this on. Nor does "R --help" reveal a command line option. How then does a user turn this on outside of the R CMD check envirionment, so as to chase

Re: [Rd] as-cran issue

2020-01-13 Thread Dirk Eddelbuettel
On 13 January 2020 at 10:02, Therneau, Terry M., Ph.D. via R-devel wrote: | Where can I find out (and replicate) what options as-cran turns on? See the file src/library/tools/R/check.R in the R sources, and grep for as_cran which is the internal variable controlled by the --as-cran option [...]

[Rd] as-cran issue

2020-01-13 Thread Therneau, Terry M., Ph.D. via R-devel
Where can I find out (and replicate) what options as-cran turns on? The issue: the following lines generate an error in R CMD check --as-cran  for coxme.  But there is no error without as-cran nor is there one when I run the code in a terminal window. ismat <- function(x)  inherits(x, "matrix"