В Tue, 24 Sep 2024 10:27:34 -0400
Ben Bolker <bbol...@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

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to