Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #486 Fix cran checks #505

Merged
merged 4 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Description:
Scoring metrics can be used either through a convenient data.frame format,
or can be applied as individual functions in a vector / matrix format.
All functionality has been implemented with a focus on performance and is
robustly tested. Find more information about scoringutils in the
accompanying paper (Bosse et al., 2022) <arXiv:2205.07090v1>.
robustly tested. Find more information about the package in the
accompanying paper (<doi:10.48550/arXiv.2205.07090>).
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Expand Down
12 changes: 6 additions & 6 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' \item{model}{name of the model that generated the forecasts}
#' \item{horizon}{forecast horizon in weeks}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_quantile"


Expand All @@ -45,7 +45,7 @@
#' \item{model}{name of the model that generated the forecasts}
#' \item{horizon}{forecast horizon in weeks}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_point"


Expand All @@ -70,7 +70,7 @@
#' \item{prediction}{predicted value}
#' \item{sample}{id for the corresponding sample}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_continuous"


Expand Down Expand Up @@ -125,7 +125,7 @@
#' \item{horizon}{forecast horizon in weeks}
#' \item{prediction}{predicted value}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_binary"


Expand All @@ -148,7 +148,7 @@
#' \item{model}{name of the model that generated the forecasts}
#' \item{horizon}{forecast horizon in weeks}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_quantile_forecasts_only"


Expand All @@ -168,7 +168,7 @@
#' \item{true_value}{true observed values}
#' \item{location_name}{name of the country for which a prediction was made}
#' }
#' @source \url{https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
#' @source \url{https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/commit/a42867b1ea152c57e25b04f9faa26cfd4bfd8fa6/} # nolint
"example_truth_only"

#' Summary information for selected metrics
Expand Down
2 changes: 1 addition & 1 deletion R/input-check-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ check_metrics <- function(metrics) {
#' Quantiles must be in the range specified, increase monotonically,
#' and contain no duplicates.
#'
#' This is used in [bias_range()]() and [bias_quantile()]() to
#' This is used in [bias_range()] and [bias_quantile()] to
#' provide informative errors to users.
#'
#' @param quantiles Numeric vector of quantiles to check
Expand Down
7 changes: 4 additions & 3 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
AJ
al
Bosse
Bracher
CMD
COVID
CRPS
Camacho
Comput
Cori
DSS
Dawid
ECDC
Eggo
EpiNow
et
EuroCOVIDhub
Gneiting
Höhle
Expand Down Expand Up @@ -44,9 +46,7 @@ facetted
facetting
frac
ggplot
implict
jss
matriced
medRxiv
metacran
miscalibrated
Expand All @@ -58,6 +58,7 @@ pval
pvalues
rel
scoringRules
scoringutils
standalone
u
underprediction
Expand Down
2 changes: 1 addition & 1 deletion man/check_quantiles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_binary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_continuous.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_point.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_quantile.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_quantile_forecasts_only.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/example_truth_only.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/scoringutils-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading