Skip to content

Commit

Permalink
addign GMT
Browse files Browse the repository at this point in the history
  • Loading branch information
choim-sci committed Sep 12, 2023
1 parent 90deeb4 commit 203995e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pack/NEONprocIS.base/tests/testthat/test-def.read.parq.ds.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ test_that("Read parquet dataset",
Df=TRUE)
testthat::expect_true ("data.frame" %in% class(ds))
testthat::expect_true(names(ds)[3]=='readout_time')
testthat::expect_true(as.POSIXct(utils::tail(ds$readout_time,1)) < as.POSIXct(ds$readout_time[1]))
readout_time_tail <- base::as.POSIXct(utils::tail(ds$readout_time,1),tz='GMT')
readout_time_1 <- base::as.POSIXct(ds$readout_time[1],tz='GMT')
testthat::expect_true(readout_time_tail < readout_time_1)

# Successful: read in dataset as data frame and sort time
ds <- NEONprocIS.base::def.read.parq.ds(fileIn = inputPath,
Expand Down

0 comments on commit 203995e

Please sign in to comment.