Skip to content

Address drake warning on non-hardcoded file paths #177

Description

@ha0ye

1: Detected file_in(!!file.path(path, "breed-bird-survey-prepped", paste0("route",
route, "region", region, ".RDS"))). File paths in file_in(), file_out(), and knitr_in() must be literal strings, not variables. For example, file_in("file1.csv", "file2.csv") is legal, but file_in(paste0(filename_variable, ".csv")) is not. Details: https://books.ropensci.org/drake/plans.html#static-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginfrastructurehow MATSS runs

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions