diff --git a/R/utils.R b/R/utils.R index 5fc8836..84e8a4a 100644 --- a/R/utils.R +++ b/R/utils.R @@ -179,9 +179,9 @@ parse_slurm_time <- function(tim) { #' #' acceptable_names <- c( #' # Absolute paths/ names may be used -#' file.path(getwd(), "/some/path/to/my_script.sh"), -#' file.path(getwd(), "/some/path/to/my_script.R"), -#' file.path(getwd(), "/some/path/to/my_script"), +#' file.path(getwd(), "my_script.sh"), +#' file.path(getwd(), "my_script.R"), +#' file.path(getwd(), "my_script"), #' # Relative paths/ names are also acceptable #' "my_script.sh", #' "my_script.R", diff --git a/man/parse_file_or_name.Rd b/man/parse_file_or_name.Rd index f424193..12e4d0d 100644 --- a/man/parse_file_or_name.Rd +++ b/man/parse_file_or_name.Rd @@ -29,9 +29,9 @@ of the appropriate parent directory (if \code{name} is an absolute path). acceptable_names <- c( # Absolute paths/ names may be used - file.path(getwd(), "/some/path/to/my_script.sh"), - file.path(getwd(), "/some/path/to/my_script.R"), - file.path(getwd(), "/some/path/to/my_script"), + file.path(getwd(), "my_script.sh"), + file.path(getwd(), "my_script.R"), + file.path(getwd(), "my_script"), # Relative paths/ names are also acceptable "my_script.sh", "my_script.R",