Skip to content

Commit

Permalink
Merge pull request #478 from epiforecasts/fix-merge
Browse files Browse the repository at this point in the history
Fix failing CI issues by deleting code remnants that shouldn't be there anymore
  • Loading branch information
nikosbosse authored Nov 19, 2023
2 parents 95a9386 + 9aa85d3 commit dbd0a61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions R/correlations.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
correlation <- function(scores,
metrics = NULL,
digits = NULL) {
metrics <- check_metrics(metrics)

metrics <- get_metrics(scores)

# if quantile column is present, throw a warning
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-plot_correlation.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("plot_correlation() works as expected", {
correlations <- correlation(summarise_scores(scores), digits = 2)
correlations <- correlation(summarise_scores(scores_quantile), digits = 2)
p <- plot_correlation(correlations)
expect_s3_class(p, "ggplot")
skip_on_cran()
Expand Down

0 comments on commit dbd0a61

Please sign in to comment.