ropensci / rnoaa
Showing 1 of 4 files from the diff.
Other files ignored by Codecov

@@ -169,11 +169,15 @@
Loading
169 169
  tmp
170 170
}
171 171
172 +
# This function is only used in lcd(), see R/lcd.R
172 173
safe_read_csv <- function(x, header = TRUE, stringsAsFactors = FALSE, sep = ",") {
173 174
  assert(x, "character")
175 +
  # here setting the column SOURCE to char b/c it is sometimes read in as integer
176 +
  # or numeric, but should always be character
174 177
  tmp <- tryCatch(
175 -
    read.csv(x, header = header, sep = sep,
176 -
      stringsAsFactors = stringsAsFactors),
178 +
    data.table::fread(x, header = header, sep = sep, 
179 +
      stringsAsFactors = stringsAsFactors, data.table = FALSE,
180 +
      colClasses = c(SOURCE="character")),
177 181
    error = function(e) e,
178 182
    warning = function(w) w
179 183
  )
Files Coverage
R 37.37%
Project Totals (47 files) 37.37%

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