r-lib / pak

Compare 1af99ae ... +0 ... 126b486

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 1 files from the diff.

@@ -120,14 +120,25 @@
Loading
120 120
}
121 121
122 122
load_private_cli <- function() {
123 +
  if (!is.null(pkg_data$ns$cli)) return(pkg_data$ns$cli)
123 124
  load_private_package("glue")
125 +
  old <- Sys.getenv("CLI_NO_THREAD", NA_character_)
126 +
  Sys.setenv(CLI_NO_THREAD = "1")
127 +
  on.exit(
128 +
    if (is.na(old)) {
129 +
      Sys.unsetenv("CLI_NO_THREAD")
130 +
    } else {
131 +
      Sys.setenv(CLI_NO_THREAD = old)
132 +
    },
133 +
    add = TRUE
134 +
  )
124 135
  load_private_package("cli")
125 136
  pkg_data$ns$cli
126 137
}
127 138
128 139
load_private_packages <- function() {
129 140
  load_private_package("glue")
130 -
  load_private_package("cli")
141 +
  load_private_cli()
131 142
  load_private_package("ps")
132 143
  load_private_package("processx", "c_")
133 144
  load_private_package("callr")

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.55% 15.88%
Project Totals (27 files) 15.88%
Loading