From 6ad17ad14e2dd4f4a7cd9036e1d2ec623731a3d7 Mon Sep 17 00:00:00 2001 From: Nick-Eagles Date: Wed, 29 Nov 2023 12:31:09 -0500 Subject: [PATCH] Try a third time to fix example --- R/utils.R | 6 +++--- man/parse_file_or_name.Rd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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",