luomus / finbif

Compare 8bbf30e ... +4 ... 0cd9014

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 300 files from the diff.
Other files ignored by Codecov
CITATION.cff has changed.
docs/LICENSE.html has changed.
R/filters.R has changed.
NAMESPACE has changed.
docs/index.html has changed.
docs/pkgdown.yml has changed.
inst/NEWS.Rd has changed.
docs/authors.html has changed.
docs/404.html has changed.
README.md has changed.
docs/search.json has changed.
NEWS.md has changed.
codemeta.json has changed.
DESCRIPTION has changed.

@@ -1,8 +1,8 @@
Loading
1 1
#' @noRd
2 -
#' @importFrom lubridate as_date period rollback
2 +
#' @importFrom lubridate as_date period rollback int_end int_start
3 3
parse_date <- function(x) {
4 4
5 -
  if (is.null(x)) return(x)
5 +
  if (is.null(x) || identical(as.character(x), "")) return(x)
6 6
  if (grepl("^\\d{4}$", x)) return(structure(x, class = "y"))
7 7
  if (grepl("^\\d{4}-\\d{2}$", x)) return(structure(x, class = "ym"))
8 8
@@ -45,7 +45,7 @@
Loading
45 45
  x <- parse_date(x)
46 46
  y <- parse_date(y)
47 47
48 -
  if (is.null(x) || is.null(y) || inherits(x, class(y))) {
48 +
  if ("" %in% list(x, y) || is.null(x) || is.null(y) || inherits(x, class(y))) {
49 49
    if (inherits(x, "Date")) x <- format.Date(x, format)
50 50
    if (inherits(y, "Date")) y <- format.Date(y, format)
51 51
    return(paste(c(x, y), collapse = "/"))

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 100.00%
Project Totals (19 files) 100.00%
Loading