Skip to contents

Function to archive script to a locally cloned archive repository. Both character strings as lists of character vectors are accepted as input.

Usage

archive_script(File_path, Archive_path = NULL)

Arguments

File_path

File(s) to archive.

Archive_path

Name of the path to your used Archive. Use in format: "../archive_example". If NULL, system variables will be used.

Examples

archive_script("20. Test/Tomer_3170.R")
#> File not found in current directory
archive_script(c("20. Test/Tomer_3209.R", "20. Test/Tomer_23432.R", "20. Test/Tomer_3179.R"))
#> File not found in current directory
#> File not found in current directory
#> File not found in current directory