-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
65 lines (44 loc) · 3.52 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# slurmjobs
<!-- badges: start -->
[![GitHub issues](https://img.shields.io/github/issues/LieberInstitute/slurmjobs)](https://github.com/LieberInstitute/slurmjobs/issues)
[![GitHub pulls](https://img.shields.io/github/issues-pr/LieberInstitute/slurmjobs)](https://github.com/LieberInstitute/slurmjobs/pulls)
[![R-CMD-check-bioc](https://github.com/LieberInstitute/slurmjobs/actions/workflows/check-bioc.yml/badge.svg)](https://github.com/LieberInstitute/slurmjobs/actions/workflows/check-bioc.yml)
[![Codecov test coverage](https://codecov.io/gh/LieberInstitute/slurmjobs/branch/devel/graph/badge.svg)](https://app.codecov.io/gh/LieberInstitute/slurmjobs?branch=devel)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
<!-- badges: end -->
`slurmjobs` provides helper functions for interacting with [SLURM](https://slurm.schedmd.com/)-managed high-performance-computing environments from R. It includes functions for creating submittable jobs (including array jobs), monitoring partitions, and extracting info about running or complete jobs. For details, check out the [documentation site](http://research.libd.org/slurmjobs/).
It was developed at [JHPCE](https://jhpce.jhu.edu/) with SLURM 22.05.9 in mind, but is intended to generalize to other clusters and newer SLURM versions.
## Installation instructions
Get the latest stable `R` release from [CRAN](http://cran.r-project.org/). Then install `slurmjobs` from [GitHub](https://github.com/LieberInstitute/slurmjobs) with:
```{r 'install_gh', eval = FALSE}
remotes::install_github("LieberInstitute/slurmjobs")
```
## Citation
Below is the citation output from using `citation('slurmjobs')` in R. Please
run this yourself to check for any updates on how to cite __slurmjobs__.
```{r 'citation', eval = requireNamespace('slurmjobs')}
print(citation("slurmjobs"), bibtex = TRUE)
```
Please note that the `slurmjobs` was only made possible thanks to many other R and bioinformatics software authors, which are cited either in the vignettes and/or the paper(s) describing this package.
## Code of Conduct
Please note that the `slurmjobs` project is released with a [Contributor Code of Conduct](http://bioconductor.org/about/code-of-conduct/). By contributing to this project, you agree to abide by its terms.
## Development tools
* Continuous code testing is possible thanks to [GitHub actions](https://www.tidyverse.org/blog/2020/04/usethis-1-6-0/) through `r BiocStyle::CRANpkg('usethis')`, `r BiocStyle::CRANpkg('remotes')`, and `r BiocStyle::CRANpkg('rcmdcheck')` customized to use [Bioconductor's docker containers](https://www.bioconductor.org/help/docker/) and `r BiocStyle::Biocpkg('BiocCheck')`.
* Code coverage assessment is possible thanks to [codecov](https://codecov.io/gh) and `r BiocStyle::CRANpkg('covr')`.
* The [documentation website](http://LieberInstitute.github.io/slurmjobs) is automatically updated thanks to `r BiocStyle::CRANpkg('pkgdown')`.
* The code is styled automatically thanks to `r BiocStyle::CRANpkg('styler')`.
* The documentation is formatted thanks to `r BiocStyle::CRANpkg('devtools')` and `r BiocStyle::CRANpkg('roxygen2')`.
For more details, check the `dev` directory.
This package was developed using `r BiocStyle::Biocpkg('biocthis')`.