-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding the pre-commit hook * Removing adding README.md back to pre-commit
- Loading branch information
Showing
75 changed files
with
1,992 additions
and
1,920 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/[email protected] | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
|
@@ -36,4 +36,3 @@ jobs: | |
shell: Rscript {0} | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Pre-commit | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
|
||
- name: Run pre-commit hooks | ||
uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
- id: end-of-file-fixer | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
- id: check-yaml | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
- id: check-added-large-files | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
- id: detect-private-key | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
|
||
- repo: https://github.com/lorenzwalthert/precommit | ||
rev: v0.4.2 | ||
hooks: | ||
- id: style-files | ||
args: | ||
[ | ||
'--ignore-start="^# styler: off$"', | ||
'--ignore-stop="^# styler: on$"', | ||
'--strict=FALSE' | ||
] | ||
exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) | ||
- id: readme-rmd-rendered | ||
# - id: lintr | ||
# args: [--warn_only] | ||
# verbose: true | ||
# exclude: ^(inst/|man/|src/cpp11.cpp|playgroud/|R/cpp11.R) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
} | ||
], | ||
"version": 4 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,4 @@ | |
"editor.insertSpaces": true, | ||
"editor.detectIndentation": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ representative at an online or offline event. | |
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported to the community leaders responsible for enforcement at [email protected]. | ||
reported to the community leaders responsible for enforcement at [email protected]. | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Version: 0.3-2 | |
Authors@R: c( | ||
person(given="George", family="Vega Yon", role=c("aut","cre"), | ||
email="[email protected]", comment = c(ORCID = "0000-0002-3171-0844")), | ||
person(given="Derek", family="Meyer", role=c("aut"), | ||
person(given="Derek", family="Meyer", role=c("aut"), | ||
email="[email protected]", comment = c(ORCID = "0009-0005-1350-6988")), | ||
person(given="Susan", family="Holmes", role = "rev", comment = | ||
c(what = "JOSS reviewer", ORCID="0000-0002-2208-8168")), | ||
|
@@ -17,20 +17,20 @@ Authors@R: c( | |
Description: A flexible framework for Agent-Based Models (ABM), the 'epiworldR' package provides methods for prototyping disease outbreaks and transmission models using a 'C++' backend, making it very fast. It supports multiple epidemiological models, including the Susceptible-Infected-Susceptible (SIS), Susceptible-Infected-Removed (SIR), Susceptible-Exposed-Infected-Removed (SEIR), and others, involving arbitrary mitigation policies and multiple-disease models. Users can specify infectiousness/susceptibility rates as a function of agents' features, providing great complexity for the model dynamics. Furthermore, 'epiworldR' is ideal for simulation studies featuring large populations. | ||
URL: https://github.com/UofUEpiBio/epiworldR, | ||
https://uofuepibio.github.io/epiworldR/, | ||
https://uofuepibio.github.io/epiworldR-workshop/ | ||
https://uofuepibio.github.io/epiworldR-workshop/ | ||
BugReports: https://github.com/UofUEpiBio/epiworldR/issues | ||
License: MIT + file LICENSE | ||
RoxygenNote: 7.3.2 | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
LinkingTo: cpp11 | ||
Suggests: | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
tinytest, | ||
netplot, | ||
igraph, | ||
data.table | ||
Imports: | ||
Imports: | ||
utils | ||
VignetteBuilder: knitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.