luomus / finbif
Showing 2 of 2 files from the diff.

@@ -66,7 +66,7 @@
Loading
66 66
    on_check_fail = match.arg(on_check_fail)
67 67
  )
68 68
69 -
  date_time_method <- det_datetime_method(date_time_method, n = sum(n))
69 +
  date_time_method <- det_datetime_method(date_time_method, n = n)
70 70
71 71
  if (missing(filter) || is.null(filter)) {
72 72

@@ -101,14 +101,23 @@
Loading
101 101
102 102
#' @noRd
103 103
det_datetime_method <- function(method, n) {
104 +
104 105
  if (missing(method)) {
106 +
107 +
    method <- "none"
108 +
109 +
    n <- sum(ifelse(is.numeric(n) & n >= 0L, n, Inf))
110 +
105 111
    if (n < 1e5) {
112 +
106 113
      method <- "fast"
107 -
    } else {
108 -
      method <- "none"
114 +
109 115
    }
116 +
110 117
  }
118 +
111 119
  method
120 +
112 121
}
113 122
114 123
#' @noRd
Files Coverage
R 100.00%
Project Totals (19 files) 100.00%

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