-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d52ecfb
commit bcfd4b7
Showing
10 changed files
with
93 additions
and
38 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
.travis.yml | ||
^\.git$ | ||
^.*\.zenodo.json$ | ||
^CRAN-RELEASE$ | ||
^cran-comments\.md$ | ||
^\.buildlibrary$ | ||
^\.github$ | ||
^codecov\.yml$ |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
ValidationKey: '1113300' | ||
ValidationKey: '1135759' | ||
AcceptedWarnings: | ||
- 'Warning: package ''.*'' was built under R version' | ||
- 'Warning: namespace ''.*'' is not available and has been replaced' | ||
AcceptedNotes: unable to verify current time | ||
AutocreateReadme: yes | ||
UseGithubActions: yes |
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 @@ | ||
*.html |
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,58 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
|
||
name: check | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v1 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install libcurl4-openssl-dev libgit2-dev | ||
- name: Query dependencies | ||
run: | | ||
install.packages('remotes') | ||
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) | ||
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") | ||
shell: Rscript {0} | ||
|
||
- name: Cache R packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.R_LIBS_USER }} | ||
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} | ||
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- | ||
|
||
- name: Install R dependencies | ||
run: | | ||
repos <- c("https://cloud.r-project.org","https://rse.pik-potsdam.de/r/packages/") | ||
install.packages(c("remotes"), repos=repos) | ||
remotes::install_deps(dependencies = TRUE, repos=repos) | ||
remotes::install_cran(c("covr","lucode2"), repos=repos) | ||
shell: Rscript {0} | ||
|
||
- name: Test coverage | ||
run: covr::codecov() | ||
shell: Rscript {0} | ||
|
||
- name: Validation key | ||
run: if(!lucode2:::validkey()$valid) stop("Invalid build key!") | ||
shell: Rscript {0} | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: gms | ||
Type: Package | ||
Title: 'GAMS' Modularization Support Package | ||
Version: 0.6.0 | ||
Date: 2020-10-20 | ||
Version: 0.6.1 | ||
Date: 2020-12-23 | ||
Authors@R: c(person("Jan Philipp", "Dietrich", email = "[email protected]", role = c("aut","cre")), | ||
person("David", "Klein", role = "aut"), | ||
person("Anastasis", "Giannousakis", role = "aut"), | ||
|
@@ -16,7 +16,12 @@ Description: A collection of tools to create, use and maintain modularized model | |
environments. In addition, this package provides tools to monitor the compliance of the model code with | ||
modular coding guidelines. | ||
Imports: dplyr, rlang, stringr, yaml | ||
Suggests: curl, magclass, qgraph, testthat | ||
Suggests: | ||
curl, | ||
magclass, | ||
qgraph, | ||
testthat, | ||
covr | ||
URL: https://github.com/pik-piam/gms | ||
BugReports: https://github.com/pik-piam/gms/issues | ||
License: BSD_2_clause + file LICENSE | ||
|
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,16 @@ | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "0...95" | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 1% | ||
informational: true | ||
patch: | ||
default: | ||
target: auto | ||
threshold: 1% | ||
informational: true |
This file was deleted.
Oops, something went wrong.