diff --git a/404.html b/404.html index a28f532..8cf61d4 100644 --- a/404.html +++ b/404.html @@ -33,7 +33,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/CODE_OF_CONDUCT.html b/CODE_OF_CONDUCT.html index b85229b..8b7120a 100644 --- a/CODE_OF_CONDUCT.html +++ b/CODE_OF_CONDUCT.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 87f2c02..831c1f6 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/SUPPORT.html b/SUPPORT.html index 355589e..6c1fc74 100644 --- a/SUPPORT.html +++ b/SUPPORT.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/articles/index.html b/articles/index.html index 8af8a2e..84a457b 100644 --- a/articles/index.html +++ b/articles/index.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/articles/slurmjobs.html b/articles/slurmjobs.html index ab71a5b..9ed4176 100644 --- a/articles/slurmjobs.html +++ b/articles/slurmjobs.html @@ -34,7 +34,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -85,7 +85,7 @@

Leonardo University
lcolladotor@gmail.com -

2 November 2023

+

29 November 2023

Source: vignettes/slurmjobs.Rmd @@ -161,7 +161,7 @@

Citing slurmjobs#> doi:10.18129/B9.bioc.slurmjobs #> <https://doi.org/10.18129/B9.bioc.slurmjobs>, #> https://github.com/LieberInstitute/slurmjobs/slurmjobs - R package -#> version 1.0.0, <http://www.bioconductor.org/packages/slurmjobs>. +#> version 1.1.0, <http://www.bioconductor.org/packages/slurmjobs>. #> #> LieberInstitute (2023). "slurmjobs: Helper Functions for SLURM Jobs." #> _bioRxiv_. doi:10.1101/TODO <https://doi.org/10.1101/TODO>, @@ -206,7 +206,7 @@

Creating Shell Scripts to sbatch job_single( name = "my_shell_script", memory = "10G", cores = 2, create_shell = FALSE ) -#> 2023-11-02 15:48:32.980328 creating the logs directory at: logs +#> 2023-11-29 17:35:06.907044 creating the logs directory at: logs #> #!/bin/bash #> #SBATCH -p shared #> #SBATCH --mem=10G @@ -240,7 +240,7 @@

Creating Shell Scripts to sbatch #> echo "**** Job ends ****" #> date #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/

Similarly, we can specify task_num to create an array job– in this case, one with 10 tasks.

@@ -249,7 +249,7 @@

Creating Shell Scripts to sbatch name = "my_array_job", memory = "5G", cores = 1, create_shell = FALSE, task_num = 10 ) -#> 2023-11-02 15:48:33.061712 creating the logs directory at: logs +#> 2023-11-29 17:35:06.97852 creating the logs directory at: logs #> #!/bin/bash #> #SBATCH -p shared #> #SBATCH --mem=5G @@ -284,7 +284,7 @@

Creating Shell Scripts to sbatch #> echo "**** Job ends ****" #> date #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/

Another function, job_loop(), can be used to create more complex array jobs as compared with job_single(). It’s @@ -355,7 +355,7 @@

Creating Shell Scripts to sbatch #> #> } > $log_path 2>&1 #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/

First, note the line Rscript bsp2_test.R --region ${region} --feature ${feature}. @@ -391,7 +391,7 @@

Creating Shell Scripts to sbatch #> #> session_info() #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/

The code related to getopt at the top of the script reads in the unique combination of variable values into a list called @@ -420,8 +420,8 @@

Submitting and Resubmitting Jobs name = "my_array_job", memory = "5G", cores = 1, create_shell = TRUE, task_num = 10 ) -#> 2023-11-02 15:48:33.296813 creating the logs directory at: logs -#> 2023-11-02 15:48:33.298239 creating the shell file my_array_job.sh +#> 2023-11-29 17:35:07.178479 creating the logs directory at: logs +#> 2023-11-29 17:35:07.179378 creating the shell file my_array_job.sh #> To submit the job use: sbatch my_array_job.sh # Suppose that tasks 3, 6, 7, and 8 failed @@ -649,9 +649,9 @@

Reproducibilitylibrary("knitr") knit("slurmjobs.Rmd", tangle = TRUE)

Date the vignette was generated.

-
#> [1] "2023-11-02 15:48:34 UTC"
+
#> [1] "2023-11-29 17:35:08 UTC"

Wallclock time spent generating the vignette.

-
#> Time difference of 2.336 secs
+
#> Time difference of 1.884 secs

R session information.

#> ─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
 #>  setting  value
@@ -663,36 +663,36 @@ 

Reproducibility#> collate en_US.UTF-8 #> ctype en_US.UTF-8 #> tz UTC -#> date 2023-11-02 +#> date 2023-11-29 #> pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown) #> #> ─ Packages ─────────────────────────────────────────────────────────────────────────────────────────────────────────── #> package * version date (UTC) lib source -#> backports 1.4.1 2021-12-13 [1] CRAN (R 4.3.1) -#> bibtex 0.5.1 2023-01-26 [1] CRAN (R 4.3.1) +#> backports 1.4.1 2021-12-13 [1] RSPM (R 4.3.0) +#> bibtex 0.5.1 2023-01-26 [1] RSPM (R 4.3.0) #> BiocManager 1.30.22 2023-08-08 [2] CRAN (R 4.3.2) #> BiocStyle * 2.30.0 2023-10-24 [1] Bioconductor #> bookdown 0.36 2023-10-16 [1] RSPM (R 4.3.0) -#> bslib 0.5.1 2023-08-11 [2] RSPM (R 4.3.0) +#> bslib 0.6.0 2023-11-21 [2] RSPM (R 4.3.0) #> cachem 1.0.8 2023-05-01 [2] RSPM (R 4.3.0) #> cli 3.6.1 2023-03-23 [2] RSPM (R 4.3.0) #> crayon 1.5.2 2022-09-29 [2] RSPM (R 4.3.0) #> desc 1.4.2 2022-09-08 [2] RSPM (R 4.3.0) #> digest 0.6.33 2023-07-07 [2] RSPM (R 4.3.0) -#> dplyr * 1.1.3 2023-09-03 [1] CRAN (R 4.3.1) -#> evaluate 0.22 2023-09-29 [2] RSPM (R 4.3.0) +#> dplyr * 1.1.4 2023-11-17 [1] RSPM (R 4.3.0) +#> evaluate 0.23 2023-11-01 [2] RSPM (R 4.3.0) #> fansi 1.0.5 2023-10-08 [2] RSPM (R 4.3.0) #> fastmap 1.1.1 2023-02-24 [2] RSPM (R 4.3.0) #> fs 1.6.3 2023-07-20 [2] RSPM (R 4.3.0) -#> generics 0.1.3 2022-07-05 [1] CRAN (R 4.3.1) +#> generics 0.1.3 2022-07-05 [1] RSPM (R 4.3.0) #> glue 1.6.2 2022-02-24 [2] RSPM (R 4.3.0) -#> htmltools 0.5.6.1 2023-10-06 [2] RSPM (R 4.3.0) +#> htmltools 0.5.7 2023-11-03 [2] RSPM (R 4.3.0) #> httr 1.4.7 2023-08-15 [2] RSPM (R 4.3.0) #> jquerylib 0.1.4 2021-04-26 [2] RSPM (R 4.3.0) #> jsonlite 1.8.7 2023-06-29 [2] RSPM (R 4.3.0) -#> knitcitations * 1.0.12 2021-01-10 [1] CRAN (R 4.3.1) +#> knitcitations * 1.0.12 2021-01-10 [1] RSPM (R 4.3.0) #> knitr 1.45 2023-10-30 [2] RSPM (R 4.3.0) -#> lifecycle 1.0.3 2022-10-07 [2] RSPM (R 4.3.0) +#> lifecycle 1.0.4 2023-11-07 [2] RSPM (R 4.3.0) #> lubridate 1.9.3 2023-09-27 [1] RSPM (R 4.3.0) #> magrittr 2.0.3 2022-03-30 [2] RSPM (R 4.3.0) #> memoise 2.0.1 2021-11-26 [2] RSPM (R 4.3.0) @@ -704,24 +704,24 @@

Reproducibility#> R6 2.5.1 2021-08-19 [2] RSPM (R 4.3.0) #> ragg 1.2.6 2023-10-10 [2] RSPM (R 4.3.0) #> Rcpp 1.0.11 2023-07-06 [2] RSPM (R 4.3.0) -#> RefManageR * 1.4.0 2022-09-30 [1] CRAN (R 4.3.1) -#> rlang 1.1.1 2023-04-28 [2] RSPM (R 4.3.0) +#> RefManageR * 1.4.0 2022-09-30 [1] RSPM (R 4.3.0) +#> rlang 1.1.2 2023-11-04 [2] RSPM (R 4.3.0) #> rmarkdown 2.25 2023-09-18 [2] RSPM (R 4.3.0) -#> rprojroot 2.0.3 2022-04-02 [2] RSPM (R 4.3.0) +#> rprojroot 2.0.4 2023-11-05 [2] RSPM (R 4.3.0) #> sass 0.4.7 2023-07-15 [2] RSPM (R 4.3.0) #> sessioninfo * 1.2.2 2021-12-06 [2] RSPM (R 4.3.0) -#> slurmjobs * 1.0.0 2023-11-02 [1] local -#> stringi 1.7.12 2023-01-11 [2] RSPM (R 4.3.0) -#> stringr 1.5.0 2022-12-02 [2] RSPM (R 4.3.0) +#> slurmjobs * 1.1.0 2023-11-29 [1] local +#> stringi 1.8.1 2023-11-13 [2] RSPM (R 4.3.0) +#> stringr 1.5.1 2023-11-14 [2] RSPM (R 4.3.0) #> systemfonts 1.0.5 2023-10-09 [2] RSPM (R 4.3.0) #> textshaping 0.3.7 2023-10-09 [2] RSPM (R 4.3.0) #> tibble 3.2.1 2023-03-20 [2] RSPM (R 4.3.0) -#> tidyselect 1.2.0 2022-10-10 [1] CRAN (R 4.3.1) -#> timechange 0.2.0 2023-01-11 [1] CRAN (R 4.3.1) +#> tidyselect 1.2.0 2022-10-10 [1] RSPM (R 4.3.0) +#> timechange 0.2.0 2023-01-11 [1] RSPM (R 4.3.0) #> utf8 1.2.4 2023-10-22 [2] RSPM (R 4.3.0) #> vctrs 0.6.4 2023-10-12 [2] RSPM (R 4.3.0) #> withr 2.5.2 2023-10-30 [2] RSPM (R 4.3.0) -#> xfun 0.40 2023-08-09 [2] RSPM (R 4.3.0) +#> xfun 0.41 2023-11-01 [2] RSPM (R 4.3.0) #> xml2 1.3.5 2023-07-06 [2] RSPM (R 4.3.0) #> yaml 2.3.7 2023-01-23 [2] RSPM (R 4.3.0) #> @@ -749,7 +749,7 @@

Bibliography[2] LieberInstitute. slurmjobs: Helper Functions for SLURM Jobs. https://github.com/LieberInstitute/slurmjobs/slurmjobs - -R package version 1.0.0. 2023. DOI: +R package version 1.1.0. 2023. DOI: 10.18129/B9.bioc.slurmjobs. URL: http://www.bioconductor.org/packages/slurmjobs. @@ -791,8 +791,8 @@

Bibliography[8] H. Wickham, R. François, L. Henry, et al. dplyr: A Grammar of Data -Manipulation. R package version 1.1.3. 2023. URL: -https://CRAN.R-project.org/package=dplyr. +Manipulation. R package version 1.1.4, https://github.com/tidyverse/dplyr. 2023. URL: +https://dplyr.tidyverse.org.

[9] diff --git a/authors.html b/authors.html index 37002de..6541160 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -66,14 +66,14 @@

Citation

LieberInstitute (2023). slurmjobs: Helper Functions for SLURM Jobs. -doi:10.18129/B9.bioc.slurmjobs, https://github.com/LieberInstitute/slurmjobs/slurmjobs - R package version 1.0.0, http://www.bioconductor.org/packages/slurmjobs. +doi:10.18129/B9.bioc.slurmjobs, https://github.com/LieberInstitute/slurmjobs/slurmjobs - R package version 1.1.0, http://www.bioconductor.org/packages/slurmjobs.

@Manual{,
   title = {slurmjobs: Helper Functions for SLURM Jobs},
   author = {{LieberInstitute}},
   year = {2023},
   url = {http://www.bioconductor.org/packages/slurmjobs},
-  note = {https://github.com/LieberInstitute/slurmjobs/slurmjobs - R package version 1.0.0},
+  note = {https://github.com/LieberInstitute/slurmjobs/slurmjobs - R package version 1.1.0},
   doi = {10.18129/B9.bioc.slurmjobs},
 }

LieberInstitute (2023). diff --git a/index.html b/index.html index ec54b39..a3f0a28 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/news/index.html b/news/index.html index 7d8d038..5e801bc 100644 --- a/news/index.html +++ b/news/index.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -50,6 +50,14 @@

Changelog

Source: NEWS.md +
+ +

NEW FEATURES

+
  • +job_single(), job_loop(), and array_submit() now may accept a name, relative path, or absolute path as the name argument. This means the working directory is no longer relevant in successfully calling these functions
  • +
  • +job_info() and job_report() now also return a wallclock_time column, giving the elapsed wallclock time of jobs as difftimes
  • +

NEW FEATURES

diff --git a/pkgdown.yml b/pkgdown.yml index 2dc0a25..800b2e6 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,5 +3,5 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: slurmjobs: slurmjobs.html -last_built: 2023-11-02T15:48Z +last_built: 2023-11-29T17:34Z diff --git a/reference/array_submit.html b/reference/array_submit.html index 6f6d01d..eca0948 100644 --- a/reference/array_submit.html +++ b/reference/array_submit.html @@ -23,7 +23,7 @@ slurmjobs - 1.0.0 + 1.1.0
@@ -80,8 +80,8 @@

Submit an array job with a specified set of task IDs

Arguments

name
-

A character(1) vector with the name of a bash script -in the current working directory (excluding '.sh')

+

A character(1) vector giving either the name or path (relative +or absolute) to the shell or R script to create.

task_ids
@@ -136,9 +136,9 @@

Examples

create_shell = TRUE, task_num = 100 ) -#> 2023-11-02 15:48:28.795857 creating the logs directory at: logs -#> 2023-11-02 15:48:28.797326 creating the shell file array_submit_example_2023-11-02.sh -#> To submit the job use: sbatch array_submit_example_2023-11-02.sh +#> 2023-11-29 17:35:03.495533 creating the logs directory at: logs +#> 2023-11-29 17:35:03.496594 creating the shell file array_submit_example_2023-11-29.sh +#> To submit the job use: sbatch array_submit_example_2023-11-29.sh ## Now we can submit the job for a set of task IDs (or omit 'task_ids' ## to automatically grab those same failed task IDs) diff --git a/reference/array_submit_example_2023-11-29.sh b/reference/array_submit_example_2023-11-29.sh new file mode 100644 index 0000000..7e21507 --- /dev/null +++ b/reference/array_submit_example_2023-11-29.sh @@ -0,0 +1,36 @@ +#!/bin/bash +#SBATCH -p shared +#SBATCH --mem=10G +#SBATCH --job-name=array_submit_example_2023-11-29 +#SBATCH -c 1 +#SBATCH -o logs/array_submit_example_2023-11-29.%a.txt +#SBATCH -e logs/array_submit_example_2023-11-29.%a.txt +#SBATCH --mail-type=ALL +#SBATCH --array=1-100%20 + +set -e + +echo "**** Job starts ****" +date + +echo "**** JHPCE info ****" +echo "User: ${USER}" +echo "Job id: ${SLURM_JOB_ID}" +echo "Job name: ${SLURM_JOB_NAME}" +echo "Node name: ${SLURMD_NODENAME}" +echo "Task id: ${SLURM_ARRAY_TASK_ID}" + +## Load the R module +module load conda_R/4.3 + +## List current modules for reproducibility +module list + +## Edit with your job command +Rscript -e "options(width = 120); sessioninfo::session_info()" + +echo "**** Job ends ****" +date + +## This script was made using slurmjobs version 1.1.0 +## available from http://research.libd.org/slurmjobs/ diff --git a/reference/get_list_indexing.html b/reference/get_list_indexing.html index 4a30255..ec39b51 100644 --- a/reference/get_list_indexing.html +++ b/reference/get_list_indexing.html @@ -22,7 +22,7 @@ slurmjobs - 1.0.0 + 1.1.0
diff --git a/reference/get_short_flags.html b/reference/get_short_flags.html index cf58713..46ef1eb 100644 --- a/reference/get_short_flags.html +++ b/reference/get_short_flags.html @@ -20,7 +20,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/reference/index.html b/reference/index.html index e0a87c1..dcfb908 100644 --- a/reference/index.html +++ b/reference/index.html @@ -17,7 +17,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -87,6 +87,10 @@

All functions job_single()

Build a SLURM job bash script

+ +

parse_file_or_name()

+ +

Parse script name or path into shell script path

parse_slurm_time()

diff --git a/reference/job_info.html b/reference/job_info.html index db75c88..39b7bb7 100644 --- a/reference/job_info.html +++ b/reference/job_info.html @@ -19,7 +19,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/reference/job_info_df.html b/reference/job_info_df.html index 46c16a9..1ac0e0c 100644 --- a/reference/job_info_df.html +++ b/reference/job_info_df.html @@ -18,7 +18,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/reference/job_loop.html b/reference/job_loop.html index a340540..7611839 100644 --- a/reference/job_loop.html +++ b/reference/job_loop.html @@ -18,7 +18,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -80,8 +80,8 @@

Arguments

name
-

A character(1) vector with the name of the script. Any spaces -will be replaced by underscores.

+

A character(1) vector giving either the name or path (relative +or absolute) to the shell script to create.

create_shell
diff --git a/reference/job_report.html b/reference/job_report.html index 47ce60e..32ecb53 100644 --- a/reference/job_report.html +++ b/reference/job_report.html @@ -23,7 +23,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/reference/job_single.html b/reference/job_single.html index a7b311f..0ed7ab5 100644 --- a/reference/job_single.html +++ b/reference/job_single.html @@ -20,7 +20,7 @@ slurmjobs - 1.0.0 + 1.1.0 @@ -80,8 +80,8 @@

Build a SLURM job bash script

Arguments

name
-

A character(1) vector with the name of the script. Any spaces -will be replaced by underscores.

+

A character(1) vector giving either the name or path (relative +or absolute) to the shell script to create.

create_shell
@@ -140,8 +140,7 @@

Value

A character vector with the script contents. If create_shell was -specified then it also creates the actual script in the current -working directory.

+specified then it also creates the actual script.

Details

@@ -163,7 +162,7 @@

Author

Examples


-## A regular job
+## A regular job, specified by name or path
 job_single("jhpce_job", create_logdir = FALSE)
 #> #!/bin/bash
 #> #SBATCH -p shared
@@ -198,7 +197,44 @@ 

Examples

#> echo "**** Job ends ****" #> date #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 +#> ## available from http://research.libd.org/slurmjobs/ +#> +job_single("~/jhpce_job.sh", create_logdir = FALSE) +#> #!/bin/bash +#> #SBATCH -p shared +#> #SBATCH --mem=10G +#> #SBATCH --job-name=jhpce_job +#> #SBATCH -c 1 +#> #SBATCH -o logs/jhpce_job.txt +#> #SBATCH -e logs/jhpce_job.txt +#> #SBATCH --mail-type=ALL +#> +#> set -e +#> +#> echo "**** Job starts ****" +#> date +#> +#> echo "**** JHPCE info ****" +#> echo "User: ${USER}" +#> echo "Job id: ${SLURM_JOB_ID}" +#> echo "Job name: ${SLURM_JOB_NAME}" +#> echo "Node name: ${SLURMD_NODENAME}" +#> echo "Task id: ${SLURM_ARRAY_TASK_ID}" +#> +#> ## Load the R module +#> module load conda_R/4.3 +#> +#> ## List current modules for reproducibility +#> module list +#> +#> ## Edit with your job command +#> Rscript -e "options(width = 120); sessioninfo::session_info()" +#> +#> echo "**** Job ends ****" +#> date +#> +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/ #> @@ -240,7 +276,7 @@

Examples

#> echo "**** Job ends ****" #> date #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/ #> @@ -280,7 +316,7 @@

Examples

#> echo "**** Job ends ****" #> date #> -#> ## This script was made using slurmjobs version 1.0.0 +#> ## This script was made using slurmjobs version 1.1.0 #> ## available from http://research.libd.org/slurmjobs/ #> diff --git a/reference/parse_file_or_name.html b/reference/parse_file_or_name.html new file mode 100644 index 0000000..6049801 --- /dev/null +++ b/reference/parse_file_or_name.html @@ -0,0 +1,151 @@ + +Parse script name or path into shell script path — parse_file_or_name • slurmjobs + + +
+
+ + + +
+
+ + +
+

Given name, the absolute or relative path to an R or shell script, +with or without the file extension, return the path to the shell script. +Verify the name is legitimate in terms of file existence or existence +of the appropriate parent directory (if name is an absolute path).

+
+ +
+
parse_file_or_name(name, should_exist, r_ok)
+
+ +
+

Arguments

+
name
+

A character(1) vector giving either the name or path +(relative or absolute) to the shell or R script to create

+ + +
should_exist
+

A logical(1) vector. If TRUE, the specified script +must already exist; if FALSE, it must not exist

+ + +
r_ok
+

A logical(1) vector. If TRUE, name may end in '.R'

+ +
+
+

Value

+ + +

A character(1) giving the absolute or relative path to the +shell script

+
+
+

Author

+

Nicholas J. Eagles

+
+ +
+

Examples

+

+acceptable_names <- c(
+    # Absolute paths/ names may be used
+    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",
+    "my_script"
+)
+returned_scripts <- sapply(
+    acceptable_names, slurmjobs:::parse_file_or_name,
+    should_exist = FALSE, r_ok = TRUE
+)
+print(returned_scripts)
+#>   /__w/slurmjobs/slurmjobs/docs/reference/my_script.sh 
+#> "/__w/slurmjobs/slurmjobs/docs/reference/my_script.sh" 
+#>    /__w/slurmjobs/slurmjobs/docs/reference/my_script.R 
+#> "/__w/slurmjobs/slurmjobs/docs/reference/my_script.sh" 
+#>      /__w/slurmjobs/slurmjobs/docs/reference/my_script 
+#> "/__w/slurmjobs/slurmjobs/docs/reference/my_script.sh" 
+#>                                           my_script.sh 
+#>                                         "my_script.sh" 
+#>                                            my_script.R 
+#>                                         "my_script.sh" 
+#>                                              my_script 
+#>                                         "my_script.sh" 
+
+
+
+ +
+ + +
+ +
+

Site built with pkgdown 2.0.7.

+
+ +
+ + + + + + + + diff --git a/reference/parse_slurm_time.html b/reference/parse_slurm_time.html index 166f358..9529fa0 100644 --- a/reference/parse_slurm_time.html +++ b/reference/parse_slurm_time.html @@ -18,7 +18,7 @@ slurmjobs - 1.0.0 + 1.1.0
diff --git a/reference/partition_df.html b/reference/partition_df.html index 7069cb2..1a2f59e 100644 --- a/reference/partition_df.html +++ b/reference/partition_df.html @@ -18,7 +18,7 @@ slurmjobs - 1.0.0 + 1.1.0
diff --git a/reference/partition_info.html b/reference/partition_info.html index 9b69bdc..fc684b3 100644 --- a/reference/partition_info.html +++ b/reference/partition_info.html @@ -19,7 +19,7 @@ slurmjobs - 1.0.0 + 1.1.0
diff --git a/reference/vector_as_code.html b/reference/vector_as_code.html index 56cd24b..fa826bc 100644 --- a/reference/vector_as_code.html +++ b/reference/vector_as_code.html @@ -18,7 +18,7 @@ slurmjobs - 1.0.0 + 1.1.0 diff --git a/sitemap.xml b/sitemap.xml index c8b408c..223e9d5 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -54,6 +54,9 @@ /reference/job_single.html + + /reference/parse_file_or_name.html + /reference/parse_slurm_time.html