Open brookslogan opened 1 year ago
Possible fixes may be updating R or parsnip. Both are behind mine by a bit, and I've never seen this warning. Maybe a linux thing?
Upgrading parsnip
did not help. I didn't try upgrading R. Key problem seems to have been using some MatrixModels version 0.5-0 tucked away somewhere; upgrading to version 0.5-1 resolves. I think there's probably some devtools and/or renv and/or quantreg/parsnip DESCRIPTION suboptimalities somewhere in the mix here. We can prevent with a simple update to epipredict
's DESCRIPTION
. Will PR.
Summary:
epipredict
locally gave me a weird warning:options(warn=2L)
, instead of warning, it asked to installquantreg
.quantreg
appeared to address the warning. (Technically, it's the installation of itsMatrixModels
dependency that appeared to actually address the problem, but sinceepipredict
imports fromquantreg
, might as well say to just installquantreg
. [Except actually it was effectively an upgrade of MatrixModels from 0.5-0 to 0.5-1 that resolved the issue.])Comments:
devtools::install_github
or not.Exploration:
Trying to load
epipredict
gives a weird message:quantreg
dependency was addedMatrixModels_0.5-0
from regular libraries (Matrix
in the lockfile was 1.5-3 and on system was 1.4-1, so this doesn't seem related)Fresh session, same(!!) renv; somehow
options(warn=2L)
alters the operation!Fresh session, after saying Yes above (--> renv.lock.2.as.txt): success! No warning.
Fresh session, after reverting the
renv.lock
back to its initial state andrenv::restore()
-ing: also no warning somehow?! (though renv said something suspicious like* The library is already synchronized with the lockfile.
when I tried to use it to do the reversion)[Erroneously copy-pasted content removed.]