[R-pkg-devel] help with CRAN failures (broom.mixed, rstan-related)
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Tue Sep 24 17:14:04 CEST 2024
В Tue, 24 Sep 2024 10:27:34 -0400
Ben Bolker <bbolker using gmail.com> пишет:
> Weirdly, I can't get this to fail on my local system even if I
> remove rstan -- maybe rstan needs to be present for brms at install
> time but not at runtime ... ???
I'm noticing that despite broom.mixed having Suggests: rstan and it
being seemingly unable to load, you don't get a NOTE for the missing
dependency:
>> checking package dependencies ... NOTE
>> Packages suggested but not available for checking: 'dotwhisker',
>> 'glmmADMB'
At that stage, R CMD check verifies that at least one of the libraries
contains file.path(PACKAGE_NAME, 'DESCRIPTION'). Later, something else
needs a valid rstan/Meta/package.rds. (There are also tests for links
between help pages, but they don't stop the check.) While running the
tests, methods:::.requirePackage actually tries to load the namespace
using require() -> ... -> loadNamespace(), which fails.
> Weirdly, I can't get this to fail on my local system even if I
> remove rstan -- maybe rstan needs to be present for brms at install
> time but not at runtime ... ???
Having only the following files left from a valid 'rstan' installation,
I can make R CMD check broom.mixed_0.2.9.5.tar.gz reach the same error
as you're getting:
rstan
rstan/Meta
rstan/Meta/package.rds
rstan/DESCRIPTION
Something must have happened on the Fedora machine.
--
Best regards,
Ivan
More information about the R-package-devel
mailing list