Compare 1987fa2 ... +1 ... 9696be8

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 2 of 4 files from the diff.
Other files ignored by Codecov

@@ -1,15 +1,15 @@
Loading
1 1
.onAttach <- function(...) {
2 2
3 -
  if (!interactive() || stats::runif(1) > 0.1) return()
3 +
  if (!interactive() || runif(1) > 0.1) return()
4 4
5 -
  pkgs <- utils::available.packages()
5 +
  pkgs <- available.packages()
6 6
7 7
  cran_version <-
8 8
    pkgs %>%
9 -
    magrittr::extract("rfm", "Version") %>%
9 +
    extract("rfm", "Version") %>%
10 10
    package_version()
11 11
12 -
  local_version <- utils::packageVersion("rfm")
12 +
  local_version <- packageVersion("rfm")
13 13
  behind_cran <- cran_version > local_version
14 14
15 15
  tips <- c(
@@ -25,8 +25,8 @@
Loading
25 25
    if (behind_cran) {
26 26
      msg <- c("A new version of rfm is available with bug fixes and new features.")
27 27
      packageStartupMessage(msg, "\nWould you like to install it?")
28 -
      if (utils::menu(c("Yes", "No")) == 1) {
29 -
        utils::update.packages("rfm")
28 +
      if (menu(c("Yes", "No")) == 1) {
29 +
        update.packages("rfm")
30 30
      }
31 31
    } else {
32 32
      packageStartupMessage(paste(strwrap(tip), collapse = "\n"))

@@ -1,14 +1,14 @@
Loading
1 -
#' @import magrittr 
1 +
#' @importFrom magrittr %>% %<>% use_series set_names extract extract2 add multiply_by
2 2
#' @import ggplot2
3 -
#' @import dplyr
4 -
#' @import stats
3 +
#' @importFrom stats median runif quantile
4 +
#' @importFrom utils available.packages menu update.packages packageVersion install.packages
5 5
bins <- function(data, value, n_bins) {
6 6
7 7
  my_value   <- enquo(value)
8 8
  length_out <- n_bins + 1
9 9
10 10
  data %>%
11 -
    pull(!! my_value) %>%
11 +
    dplyr::pull(!! my_value) %>%
12 12
    quantile(probs = seq(0, 1, length.out = length_out)) %>%
13 13
    unname() %>%
14 14
    extract(c(-1, -length_out)) %>%
@@ -21,7 +21,7 @@
Loading
21 21
  my_value <- enquo(value)
22 22
23 23
  data %>%
24 -
    pull(!! my_value) %>%
24 +
    dplyr::pull(!! my_value) %>%
25 25
    min() %>%
26 26
    append(bins)
27 27
@@ -33,7 +33,7 @@
Loading
33 33
34 34
  data_max <-
35 35
    data %>%
36 -
    pull(!! my_value) %>%
36 +
    dplyr::pull(!! my_value) %>%
37 37
    max() %>%
38 38
    add(1)
39 39
@@ -46,7 +46,7 @@
Loading
46 46
  my_column <- enquo(column)
47 47
48 48
  rfm_heatmap_data %>%
49 -
    pull(!! my_column) %>%
49 +
    dplyr::pull(!! my_column) %>%
50 50
    as.factor() %>%
51 51
    levels() %>%
52 52
    as.vector() %>%
@@ -61,11 +61,10 @@
Loading
61 61
  extra_data        <- expand.grid(missing2, seq_len(n_bins), 0)
62 62
  names(extra_data) <- names(rfm_heatmap_data)
63 63
64 -
  bind_rows(rfm_heatmap_data, extra_data)
64 +
  dplyr::bind_rows(rfm_heatmap_data, extra_data)
65 65
66 66
}
67 67
68 -
#' @import utils
69 68
check_suggests <- function(pkg) {
70 69
71 70
  pkg_flag <- tryCatch(packageVersion(pkg), error = function(e) NA)

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 88.69%
Project Totals (9 files) 88.69%
Loading