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.
Advanced users: verify that the bug still persists in the current development version (i.e. remotes::install_github("ropensci/drake")) and mention the SHA-1 hash of the Git commit you install.
Description
When we pass a large-ish character to file_in(), we get a warning. All the right files seem to be detected anyway, but we should still remove the causej of the warning.
Reproducible example
library(drake)
plan<- drake_plan(x= file_in(!!letters))
config<- drake_config(plan)
#> Warning in if (nzchar(expr)) {: the condition has length > 1 and only the#> first element will be useddeps<- deps_target(x, config)
deps<-deps[order(deps$name), ]
head(deps)
#> # A tibble: 6 x 2#> name type #> <chr> <chr> #> 1 a file_in#> 2 b file_in#> 3 c file_in#> 4 d file_in#> 5 e file_in#> 6 f file_in
tail(deps)
#> # A tibble: 6 x 2#> name type #> <chr> <chr> #> 1 u file_in#> 2 v file_in#> 3 w file_in#> 4 x file_in#> 5 y file_in#> 6 z file_in
Prework
drake
's code of conduct.remotes::install_github("ropensci/drake")
) and mention the SHA-1 hash of the Git commit you install.Description
When we pass a large-ish character to
file_in()
, we get a warning. All the right files seem to be detected anyway, but we should still remove the causej of the warning.Reproducible example
Created on 2019-06-05 by the reprex package (v0.3.0)
Expected output
No warning.
The text was updated successfully, but these errors were encountered: