I haven't followed all the code branches in tools:::.check_packages(),
but some of them use --vanilla when running the R subprocess that does
the checking. I think that would mean that libraries in ~/R would not
be in the search path.
-BIll
On Mon, Mar 8, 2021 at 8:45 AM Thierry Onkelinx
wrote:
On Mon, Mar 8, 2021 at 5:45 PM Thierry Onkelinx
wrote:
> Yes, This was the problem. The recent version of lattice was in my home
> folder ~/R/x86_64-pc-linux-gnu-library/4.0 (first element of .libPaths()).
> An older version of lattice was in /usr/lib/R/library (last element of
> .libPaths()).
>
Yes, This was the problem. The recent version of lattice was in my home
folder ~/R/x86_64-pc-linux-gnu-library/4.0 (first element of .libPaths()).
An older version of lattice was in /usr/lib/R/library (last element of
.libPaths()).
install.packages("lattice", lib = "/usr/lib/R/library") solved the
Hi,
If you think this is a bug in rcmdcheck, then please report an issue
here: https://github.com/r-lib/rcmdcheck/issues
My guess is that you have another version of lattice in another
library, and that version is used with `--as-cran`.
Gabor
On Mon, Mar 8, 2021 at 5:18 PM Thierry Onkelinx
wro
On 08.03.2021 17:17, Thierry Onkelinx wrote:
Dear all,
rcmdcheck::rcmdcheck() runs fine on my package. rcmdcheck::rcmdcheck(args
= c("--as-cran")) reports an error: package ‘lattice’ was installed before
R 4.0.0: please re-install it
I have no idea how that package perfoms the checks, but
Dear all,
rcmdcheck::rcmdcheck() runs fine on my package. rcmdcheck::rcmdcheck(args
= c("--as-cran")) reports an error: package ‘lattice’ was installed before
R 4.0.0: please re-install it
The error persists, even when I reinstall lattice.
What am I missing?
Best regards,
Thierry
sessioninfo: