r-lib / callr
Showing 1 of 1 files from the diff.

@@ -95,7 +95,10 @@
Loading
95 95
      )
96 96
    }
97 97
    sys <- path.expand(sys)
98 -
    if (file.exists(sys)) file.append(profile_system, sys)
98 +
    if (file.exists(sys)) {
99 +
      file.append(profile_system, sys)
100 +
      cat("\n", file = profile_system, append = TRUE)
101 +
    }
99 102
  }
100 103
101 104
  if (identical(user, "project")) {
@@ -158,7 +161,10 @@
Loading
158 161
  sys <- env["R_ENVIRON"]
159 162
  if (is.na(sys)) sys <- Sys.getenv("R_ENVIRON", NA_character_)
160 163
  if (is.na(sys)) sys <- file.path(R.home("etc"), "Renviron.site")
161 -
  if (!is.na(sys) && file.exists(sys)) file.append(env_sys, sys)
164 +
  if (!is.na(sys) && file.exists(sys)) {
165 +
    file.append(env_sys, sys)
166 +
    cat("\n", file = env_sys, append = TRUE)
167 +
  }
162 168
163 169
  user <- env["R_ENVIRON_USER"]
164 170
  if (is.na(user)) user <- Sys.getenv("R_ENVIRON_USER", NA_character_)
@@ -166,7 +172,10 @@
Loading
166 172
  home <- "~/.Renviron"
167 173
  if (is.na(user) && file.exists(local)) user <- local
168 174
  if (is.na(user) && file.exists(home)) user <- home
169 -
  if (!is.na(user) && file.exists(user)) file.append(env_user, user)
175 +
  if (!is.na(user) && file.exists(user)) {
176 +
    file.append(env_user, user)
177 +
    cat("\n", file = env_user, append = TRUE)
178 +
  }
170 179
171 180
  for (ef in c(env_sys, env_user)) {
172 181
    cat("R_PROFILE=\"", profiles[[1]], "\"\n", file = ef,
Files Coverage
R 69.71%
Project Totals (21 files) 69.71%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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