From 4c2807663b2e072c9d3f20e061901e19a21aace8 Mon Sep 17 00:00:00 2001 From: Nick-Eagles Date: Wed, 29 Nov 2023 10:49:21 -0500 Subject: [PATCH] Fix an example --- R/utils.R | 2 +- man/parse_file_or_name.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/utils.R b/R/utils.R index a754607..2b7554b 100644 --- a/R/utils.R +++ b/R/utils.R @@ -187,7 +187,7 @@ parse_slurm_time <- function(tim) { #' ) #' returned_scripts <- sapply( #' acceptable_names, slurmjobs:::parse_file_or_name, -#' should_exist = FALSE +#' should_exist = FALSE, r_ok = TRUE #' ) #' print(returned_scripts) parse_file_or_name <- function(name, should_exist, r_ok) { diff --git a/man/parse_file_or_name.Rd b/man/parse_file_or_name.Rd index 69dd365..32a2aea 100644 --- a/man/parse_file_or_name.Rd +++ b/man/parse_file_or_name.Rd @@ -37,7 +37,7 @@ acceptable_names <- c( ) returned_scripts <- sapply( acceptable_names, slurmjobs:::parse_file_or_name, - should_exist = FALSE + should_exist = FALSE, r_ok = TRUE ) print(returned_scripts) }