Learn R Programming

orderly (version 2.0.0)

orderly_resource: Declare orderly resources

Description

Declare that a file, or group of files, are an orderly resource. By explicitly declaring files as resources orderly will mark the files as immutable inputs and validate that your analysis does not modify them when run with orderly_run()

Usage

orderly_resource(files)

Value

Invisibly, a character vector of resources included by the call. Don't rely on the order of these files if they are expanded from directories, as this is likely platform dependent. If a path was not found, then we throw an error.

Arguments

files

Any number of names of files or directories. If you list a directory it is expanded recursively to include all subdirectories and files.

Examples

Run this code
# An example in context within the orderly examples:
orderly_example_show("strict")

Run the code above in your browser using DataLab