davidski / collector

Compare c565c97 ... +0 ... b6fb500

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 8 files from the diff.
Other files ignored by Codecov
NEWS.md has changed.
DESCRIPTION has changed.
cran-comments.md has changed.
R/utils-pipe.R has changed.
inst/WORDLIST has changed.
man/pipe.Rd has changed.

@@ -11,7 +11,7 @@
Loading
11 11
#' @param questions \code{\link{tidyrisk_question_set}} object.
12 12
#' @param output_dir Directory to place scorecards.
13 13
#'
14 -
#' @return An invisible null.
14 +
#' @return Invisibly returns the full path to the saved scorecard.
15 15
#' @export
16 16
#' @importFrom dplyr mutate row_number if_else
17 17
#' @importFrom rlang .data
@@ -48,7 +48,7 @@
Loading
48 48
  gg <- ggplot(dat, aes_string(x = "column", y = "row", label = "id")) +
49 49
    geom_tile(aes(fill = "highlight"), alpha = 0.5, color = "black") +
50 50
    scale_fill_manual(values = c("N" = "white", "Y" = "lightslategray"),
51 -
                      guide = FALSE) +
51 +
                      guide = "none") +
52 52
    coord_equal() + geom_text() + scale_y_reverse() +
53 53
    theme_void() +
54 54
    theme(axis.text = element_blank(), panel.grid = element_blank()) +
@@ -60,7 +60,7 @@
Loading
60 60
  gg_cap <- ggplot(dat, aes_string(x = "column", y = "row", label = "id")) +
61 61
    geom_tile(aes_string(fill = "highlight"), alpha = 0.5, color = "black") +
62 62
    scale_fill_manual(values = c("N" = "white", "Y" = "lightslategray"),
63 -
                      guide = FALSE) +
63 +
                      guide = "none") +
64 64
    coord_equal() + geom_text() + scale_y_reverse() +
65 65
    theme_void() +
66 66
    theme(axis.text = element_blank(), panel.grid = element_blank()) +
@@ -73,9 +73,7 @@
Loading
73 73
  filename <- tolower(sme) %>% stringr::str_replace_all(" ", "_") %>%
74 74
    paste0(., "_scorecard.pdf")
75 75
  result <- ggplot2::ggsave(combo, filename = file.path(output_dir, filename))
76 -
  if (length(result$warnings) > 0) {
77 -
    warning(warnings, call. = FALSE)}
78 -
  invisible(NULL)
76 +
  invisible(result)
79 77
}
80 78
81 79
#' @export

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 0.15% 93.91%
Project Totals (10 files) 93.91%
Loading