Default specifications for programs (scripts) to be copied to submission package

Helper function for creation of submission package. Creates a specification data frame that can be used as input to createSubmissionPack with default settings. For each file in the given folders defaults are set in the returned specification data frame (i.e., subfolder is according to subfolder of the given folder, no description is given, and the Type is 'program')

getProgramSpecification(
  folder,
  extensions = c(".R", ".txt", ".r"),
  recursive = TRUE
)

Arguments

folder

Folder containing scripts to be included in submission

extensions

Character vector with file extension. Only files with corresponding extension will be included

recursive

Logical whether files in subfolders should also be included

Value

data frame with one line per script to be included and default settings

Author

Anne Kuemmel