-
Notifications
You must be signed in to change notification settings - Fork 0
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
e6a95e2
commit 5626d38
Showing
86 changed files
with
1,795 additions
and
1,111 deletions.
There are no files selected for viewing
Binary file not shown.
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,50 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: test-coverage | ||
|
||
jobs: | ||
test-coverage: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::covr | ||
needs: coverage | ||
|
||
- name: Test coverage | ||
run: | | ||
covr::codecov( | ||
quiet = FALSE, | ||
clean = FALSE, | ||
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") | ||
) | ||
shell: Rscript {0} | ||
|
||
- name: Show testthat output | ||
if: always() | ||
run: | | ||
## -------------------------------------------------------------------- | ||
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true | ||
shell: bash | ||
|
||
- name: Upload test results | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-test-failures | ||
path: ${{ runner.temp }}/package |
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,2 +1,5 @@ | ||
inst/doc | ||
.Rproj.user | ||
|
||
*.o | ||
*.so |
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,23 +1,31 @@ | ||
Package: eppverification | ||
Type: Package | ||
Title: Verification Tools for the Statistical Postprocessing of Ensemble Forecasts | ||
Version: 0.2.0 | ||
Version: 0.3.0 | ||
Authors@R: c( | ||
person(given = "David", | ||
family = "Jobst", | ||
role = c("aut", "cre"), | ||
email = "jobst@imai.uni-hildesheim.de", | ||
email = "jobstd@uni-hildesheim.de", | ||
comment = c(DOI = "10.5281/zenodo.5574572"))) | ||
Maintainer: David Jobst <jobst@imai.uni-hildesheim.de> | ||
Maintainer: David Jobst <jobstd@uni-hildesheim.de> | ||
Description: This package provides user-friendly univariate and multivariate verification tools for the statistical ensemble post-processing. It allows to score and assess the calibration (reliability) and sharpness of ensemble forecasts and predictive distributions. In addition this package can be used to create useful contemporary visualizations for verification. | ||
URL: https://github.com/jobstdavid/eppverification | ||
BugReports: https://github.com/jobstdavid/eppverification/issues | ||
Imports: ggplot2, ggmap, fields, vegan, pcaPP | ||
Imports: | ||
ggplot2, | ||
fields, | ||
vegan, | ||
pcaPP, | ||
Rfast, | ||
Rcpp | ||
License: GPL (>= 3) + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
RoxygenNote: 7.1.2 | ||
RoxygenNote: 7.2.3 | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
testthat (>= 3.0.0) | ||
LinkingTo: | ||
Rcpp, RcppArmadillo |
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
Empty file.
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,35 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
crps_cpp <- function(y, x) { | ||
.Call(`_eppverification_crps_cpp`, y, x) | ||
} | ||
|
||
crps_sml_cpp <- function(y, x) { | ||
.Call(`_eppverification_crps_sml_cpp`, y, x) | ||
} | ||
|
||
crps_mc_cpp <- function(y, x) { | ||
.Call(`_eppverification_crps_mc_cpp`, y, x) | ||
} | ||
|
||
euclnorm_cpp <- function(x) { | ||
.Call(`_eppverification_euclnorm_cpp`, x) | ||
} | ||
|
||
es_cpp <- function(y, x) { | ||
.Call(`_eppverification_es_cpp`, y, x) | ||
} | ||
|
||
es_mc_cpp <- function(y, x) { | ||
.Call(`_eppverification_es_mc_cpp`, y, x) | ||
} | ||
|
||
vs_cpp <- function(y, x, w, p) { | ||
.Call(`_eppverification_vs_cpp`, y, x, w, p) | ||
} | ||
|
||
ds_cpp <- function(x) { | ||
.Call(`_eppverification_ds_cpp`, x) | ||
} | ||
|
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.