Closed SimonKurmann closed 3 years ago
Sorry about the headache on your end. I think the error should go away if you remove .drake/data/0c046ff7dd7f396d.rds
and all of .drake/keys/session/
.
targets
, the long-term successor to drake
, has a more robust storage system that should prevent these issues in the future.
Hello Will
Thanks for your reply. I tried as you suggested and get a new error: Error : key 'ee572f112f513393' ('memoize') not found
Said file exists in memorize.
Would you recommend using targets, then? If so, this would be a good time for me to switch. (I'm going to read the respective chapter in the targets manual now.)
Thanks for your reply. I tried as you suggested and get a new error: Error : key 'ee572f112f513393' ('memoize') not found
You could try deleting all of .drake/keys/memoize/
, but at this point more errors might come up. Unfortunately you may have to restart the project with a new cache.
Would you recommend using targets, then? If so, this would be a good time for me to switch. (I'm going to read the respective chapter in the targets manual now.)
If you can, I do recommend switching. If you know drake
, you already almost know targets
.
Thanks again, Will. I started reading the targets docs and will use it in the upcoming project.
Also, thanks for your awesome packages!
Hi
I enjoy working with drake -- thanks for this awesome package! But now, after a hiatus, I get weird errors when I try to make a new drake plan.
I'm using drake with R 4.0.3 and RStudion on Windows 10. Since 14.01.2021 (first use of drake since october 2020, just updated to R 4.0.3 from 4.0.2), I get the error in the issue title when I define a new plan and try to make it.
An empty plan does not cause the error.
This plan already causes the error:
the_plan <- drake_plan( test = mean(1:9) )
.Last.error outputs:
.Last.error.trace outputs:
The .drake folder looks as follows: .drake | config | data | drake | keys .........| memoize ......... | meta .........| objects ......... | progress .........| session .................. | drake_version .................. | seed .................. | sessioninfo | scratch | .gitignore
The file drake_version contains:
The error does not occur if I try to make an old plan (from last october). Also, at my coworkers' PCs, the error does not occur (neither with R 4.0.2 nor R 4.0.3).
I already removed and reinstalled R, RStudio and all required packages to no avail.
I would much appreciate a solution to this error.