Open BarbaraClass opened 2 months ago
That's odd - never encountered this before. What version of devtools have you installed?
Hi, I just downloaded the last version of R and updated all packages and the problem persists:
Ok it seems that the issue arises only when I load the pipelines package before doing devtools::load_all(".")
What do you mean with 'load the pipelines package'?
I receive the same error as you picture above after just running devtools::load_all(".")
.
I meant running "library (pipelines)" before doing devtools::load_all("."). Now it is sort of working except the choose_directory function but I don't know if it is connected.
Ah, I see. Indeed, it is only necessary to use devtools::load_all(".")
, and then all the R objects and functions that exist in the pipelines package (e.g., species_codes
) becomes available in the environment.
choose_directory()
is still broken because of problems with utils::choose.dir()
. In this commit (https://github.com/SPI-Birds/pipelines/commit/7563975005e9ba83aaf8e6a2861b3c43c2b58091) of the pipelines package, I temporarily fixed it.
Ok it works now, thanks!
I created a new branch for the CAC pipeline yesterday and have not been able to load the pipelines environment:
devtools::load_all(".")
Error in delayedAssign(x, brood_data_template, eval.env, assign.env) : cannot change value of locked binding for 'brood_data_template'
The other branches I created earlier don't have any problem and I don't understand what the issue with this one is. I deleted the branch and made a new one twice but the outcome is just the same.