You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search for duplicates among the existing issues, both open and closed.
Be considerate of the maintainer's time and make it as easy as possible to troubleshoot any problems you identify. Read here and here to learn about minimal reproducible examples. Format your code according to the tidyverse style guide to make it easier for others to read.
If you think your issue has a quick and definite solution, consider posting to Stack Overflow under the drake-r-package tag. (If you anticipate extended follow-up and discussion, you are already in the right place!)
Description
When running my plan, I get the following error:
> make(the_plan)
Error in if (trigger_format_file(target, meta, config)) { :
missing value where TRUE/FALSE needed
I know that it comes from a dynamic file target (with static branching), that the file (in this case a directory, actually) previously didn't exist, and that the error is fixed when I change the target name. When I investigate the error (at trigger_format_file()), the issue seems to be that that hash_old <- meta_old$format_file_hash evaluates to NA, in turn because meta_old$format_file_hash is NA. Unfortunately I've been struggling to create a reprex, because I don't know enough about the internals of drake to work out how to get to meta_old. And also the below example works, even though the file doesn't exist:
Prework
drake
's code of conduct.drake-r-package
tag. (If you anticipate extended follow-up and discussion, you are already in the right place!)Description
When running my plan, I get the following error:
I know that it comes from a dynamic file target (with static branching), that the file (in this case a directory, actually) previously didn't exist, and that the error is fixed when I change the target name. When I investigate the error (at
trigger_format_file()
), the issue seems to be that thathash_old <- meta_old$format_file_hash
evaluates toNA
, in turn becausemeta_old$format_file_hash
isNA
. Unfortunately I've been struggling to create a reprex, because I don't know enough about the internals ofdrake
to work out how to get tometa_old
. And also the below example works, even though the file doesn't exist:Created on 2020-09-22 by the reprex package (v0.3.0)
Session info
Any tips on how to further diagnose this?
The text was updated successfully, but these errors were encountered: