Skip to content
Prev 3967 / 12125 Next

[R-pkg-devel] R CMD check works but with devtools::check() examples fail

Hi Barbara,
On 16 May 2019 at 16:48, Barbara Lerner wrote:
| This is very helpful, thank you!? The R Internals document gave me the 
| clues that I need.

Great!
 
| I am pretty certain that more things are being checked than before as 
| problems are being reported with code that has not changed.? In 
| particular, it is checking if logical expressions are returning a vector 
| of length > 1.? I had is.null tests where I wanted to check if a 

Ah, yes, that is a new check which IIRC only became active with R 3.6.0.

| variable was null.? Unfortunately, when the variable contained a vector, 
| it was checking whether the members were null, which is not what I 
| intended.? I understand the error reports now and can fix these.

Nice.  Glad I could help.

Cheers, Dirk