Skip to content

Commit

Permalink
Exempt a line
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Apr 22, 2021
1 parent 41f3695 commit 2c0365e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/tar_timestamp_raw.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,11 @@ tar_timestamp_raw <- function(
store <- store_init(format = record$format)
store$file$path <- record$path
out <- store_get_timestamp(store = store)
# Tested in tests/interactive/test-class_url.R
# nocov start
if (is.character(out) && parse) {
out <- file_time_system_tz(as.POSIXct(out, format = format, tz = tz))
}
# nocov end
out %||NA% file_time_system_tz(file_time_reference)
}

0 comments on commit 2c0365e

Please sign in to comment.