Closed kozmaz87 closed 1 year ago
I am unable to recreate this situation.
load.R
file.packrat::init()
.Unfortunately, without knowing the versions of each package, it will be challenging to reproduce -- my testing used the current CRAN package versions.
Please reopen this issue if you are able to create a reproducible example.
Additionally, we recommend that folks use renv rather than packrat for new projects. https://rstudio.github.io/renv/
Installing source version of the foreach 1.5.2 package seems to not install iterators first... according to the package metadata the dependency is declared on iterators and it is indeed in the list of packages packrat is preparing to install but it tries to compile foreach first.... not sure what is happening there....
The full list at the beginning:
And after compiling many many packages successfully 35 mins down the line this happens seemingly in order of dependency this happens:
iterators did not precede compilation of foreach and I can't figure out why.. can anyone reproduce this?
This is the basic code I am using to trigger this error: