r-lib / pak
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")
Files Coverage
R 15.88%
Project Totals (27 files) 15.88%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading