Skip to content

Commit

Permalink
update version number, make a few examples not run on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosbosse committed Jan 18, 2023
1 parent 37779f6 commit 692b8bb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: scoringutils
Title: Utilities for Scoring and Assessing Predictions
Version: 1.1.0.3000
Version: 1.1.0
Language: en-GB
Authors@R: c(
person(given = "Nikos",
Expand Down
2 changes: 2 additions & 0 deletions R/score.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@
#' summarise_scores(by = c("model", "target_type"))
#'
#' # forecast formats with different metrics
#' \dontrun{
#' score(example_binary)
#' score(example_quantile)
#' score(example_integer)
#' score(example_continuous)
#' }
#'
#' # score point forecasts (marked by 'NA' in the quantile column)
#' score(example_point) %>%
Expand Down
5 changes: 4 additions & 1 deletion R/summarise_scores.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @title Summarise scores as produced by [score()]
#'
#' @description Summarise scores as produced by [score()]-
#' @description Summarise scores as produced by [score()]
#'
#' @inheritParams pairwise_comparison
#' @inheritParams score
Expand Down Expand Up @@ -38,8 +38,11 @@
#' @examples
#' library(magrittr) # pipe operator
#'
#'
#'\dontrun{
#' scores <- score(example_continuous)
#' summarise_scores(scores)
#' }
#'
#' # summarise over samples or quantiles to get one score per forecast
#' scores <- score(example_quantile)
Expand Down
2 changes: 2 additions & 0 deletions man/score.Rd

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

3 changes: 3 additions & 0 deletions man/summarise_scores.Rd

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

0 comments on commit 692b8bb

Please sign in to comment.