Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(heatwaveR)
  Loading required package: data.table
  Loading required package: ggplot2
  > 
  > test_check("heatwaveR")
  -- 1. Error: block_average() returns the correct tibble and columns (@test-block
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-block_average.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 2. Error: block_average() report argument behaves as expected (@test-block_av
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-block_average.R:12
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 3. Error: category() returns the correct tibbles and columns (@test-category.
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-category.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 4. Error: The seasons by hemisphere come out correctly (@test-category.R#12) 
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-category.R:12
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 5. Error: The name argument works correctly (@test-category.R#21)  ----------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-category.R:21
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 6. Error: y = any existing column (@test-category.R#30)  --------------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-category.R:30
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 7. Error: season splits work under all circumstances (@test-category.R#37)  -
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-category.R:37
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 8. Error: clim_calc() returns the correct output (@test-clim_calc.R#6)  -----
  ICU init failed: U_FILE_ACCESS_ERROR
  1: make_whole(ts_xy, x = ts_x, y = ts_y) at testthat/test-clim_calc.R:6
  2: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  3: lubridate::yday
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: tryCatch(loadNamespace(name), error = function(e) stop(e))
  8: tryCatchList(expr, classes, parentenv, handlers)
  9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  10: value[[3L]](cond)
  
  -- 9. Error: clim_spread() returns the correct output (@test-clim_spread.R#6)  -
  ICU init failed: U_FILE_ACCESS_ERROR
  1: make_whole(ts_xy, x = ts_x, y = ts_y) at testthat/test-clim_spread.R:6
  2: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  3: lubridate::yday
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: tryCatch(loadNamespace(name), error = function(e) stop(e))
  8: tryCatchList(expr, classes, parentenv, handlers)
  9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  10: value[[3L]](cond)
  
  -- 10. Error: clim_spread() plugs NA values (@test-clim_spread.R#18)  ----------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: heatwaveR:::make_whole(ts_xy, x = ts_x, y = ts_y) at testthat/test-clim_spread.R:18
  2: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  3: lubridate::yday
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: tryCatch(loadNamespace(name), error = function(e) stop(e))
  8: tryCatchList(expr, classes, parentenv, handlers)
  9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  10: value[[3L]](cond)
  
  -- 11. Error: detect() returns the correct lists, tibbles, and columns (@test-de
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 12. Error: all starting error checks flag correctly (@test-detect_event.R#14)
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:14
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 13. Error: coldSpells = TRUE returns MCS calculations (@test-detect_event.R#2
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"), pctile = 10) at testthat/test-detect_event.R:24
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 14. Error: joinAcrosGaps = FALSE returns more events (@test-detect_event.R#31
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:31
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 15. Error: events starting/ending before/after the time series dates aredealt
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:38
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 16. Error: detect_event() does not joinAcrossGaps if conditions are not met (
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:47
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 17. Error: detect_event() utilises the second threshold correctly (@test-dete
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:54
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 18. Error: threshClim2 must be logic values (@test-detect_event.R#63)  ------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-detect_event.R:63
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 19. Error: exceedance() returns the correct lists, tibbles, and columns (@tes
  ICU init failed: U_FILE_ACCESS_ERROR
  1: exceedance(data = sst_Med, threshold = 20) at testthat/test-exceedance.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 20. Failure: threshold may not be missing (@test-exceedance.R#13)  ----------
  `exceedance(data = sst_Med)` threw an error with unexpected message.
  Expected match: "Oh no! Please provide a threshold against which to calculate exceedances."
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 21. Failure: threshold may not exceed the max temperature in the data (@test-
  `exceedance(data = sst_Med, threshold = 30)` threw an error with unexpected message.
  Expected match: "The given threshold value of 30 is greater than the maximum temperature of 28.15 present in this time series."
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 22. Failure: threshold may not exceed the min temperature in the data (@test-
  `exceedance(data = sst_Med, threshold = 10)` threw an error with unexpected message.
  Expected match: "The given threshold value of 10 is less than the minimum temperature of 11.2 present in this time series."
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 23. Error: below argument creates negative values (@test-exceedance.R#28)  --
  ICU init failed: U_FILE_ACCESS_ERROR
  1: exceedance(data = sst_Med, threshold = 15, below = TRUE) at testthat/test-exceedance.R:28
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 24. Failure: threshold must be exceeded by enough to be able to detect events
  `exceedance(sst_Med, threshold = 28)` threw an error with unexpected message.
  Expected match: "Not enough consecutive days above 28 to detect an event."
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 25. Failure: threshold must be exceeded by enough to be able to detect events
  `exceedance(sst_Med, threshold = 11.5, below = T)` threw an error with unexpected message.
  Expected match: "Not enough consecutive days below 11.5 to detect an event."
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 26. Error: joinAcrossGaps = F creates more events (@test-exceedance.R#40)  --
  ICU init failed: U_FILE_ACCESS_ERROR
  1: exceedance(sst_Med, threshold = 20) at testthat/test-exceedance.R:40
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 27. Error: conditionals for calculating exceedance_rel_thresh are responsive 
  ICU init failed: U_FILE_ACCESS_ERROR
  1: exceedance(ts, threshold = 20) at testthat/test-exceedance.R:47
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 28. Error: gaps are not joined if none exist (@test-exceedance.R#54)  -------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: exceedance(ts, threshold = 20) at testthat/test-exceedance.R:54
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 29. Error: geom_flame() doesn't fall over (@test-geoms.R#8)  ----------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-geoms.R:8
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 30. Error: geom_lolli() doesn't fall over (@test-geoms.R#16)  ---------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-geoms.R:16
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 31. Error: n = x highlights certain values (@test-geoms.R#24)  --------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-geoms.R:24
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 32. Error: event_line() doesn't fall over (@test-graph_functions.R#11)  -----
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:11
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 33. Error: data fed to event_line() is a list with correct dataframes (@test-
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:18
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 34. Error: data fed to event_line() is a list with correct dataframes (@test-
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:25
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 35. Error: event_line() metric must be spelled correctly (@test-graph_functio
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:32
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 36. Error: event_line() may create MCS output (@test-graph_functions.R#40)  -
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")), 
         coldSpells = TRUE) at testthat/test-graph_functions.R:40
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 37. Error: event_line() category argument works (@test-graph_functions.R#47) 
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:47
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 38. Error: event_line() category argument doesn't work for MCSs (@test-graph_
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", 
         "2012-12-31")), coldSpells = TRUE) at testthat/test-graph_functions.R:55
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 39. Error: lolli_plot() doesn't fall over (@test-graph_functions.R#68)  -----
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:68
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 40. Error: data fed to lolli_plot() is a list with correct dataframes (@test-
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:75
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 41. Error: lolli_plot() metric must be spelled correctly (@test-graph_functio
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:82
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 42. Error: lolli_plot() xaxis must be spelled correctly (@test-graph_function
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:89
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 43. Error: lolli_plot() may not be asked to highlight more events than there 
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))) at testthat/test-graph_functions.R:96
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 44. Error: lolli_plot() may create MCS output (@test-graph_functions.R#103)  
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", 
         "2012-12-31")), coldSpells = TRUE) at testthat/test-graph_functions.R:103
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 45. Error: lolli_plot() correctly highlights no events when told not to (@tes
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", 
         "2012-12-31")), coldSpells = TRUE) at testthat/test-graph_functions.R:110
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 46. Error: lolli_plot() correctly changes x axis label for given 'xaxis' valu
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", 
         "2012-12-31")), coldSpells = TRUE) at testthat/test-graph_functions.R:117
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 47. Error: lolli_plot() correctly changes y axis label for given 'metric' val
  ICU init failed: U_FILE_ACCESS_ERROR
  1: detect_event(data = ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", 
         "2012-12-31")), coldSpells = TRUE) at testthat/test-graph_functions.R:128
  2: eval(substitute(x), data)
  3: ts2clm(sst_Med, pctile = 10, climatologyPeriod = c("1983-01-01", "2012-12-31"))
  4: make_whole(ts_xy, x = ts_x, y = ts_y)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 48. Error: make_whole() returns a three column dataframe (@test-make_whole.R#
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole(data = sst_Med), "data.frame") at testthat/test-make_whole.R:4
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole(data = sst_Med)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 49. Error: x = any existing column (@test-make_whole.R#10)  -----------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole(data = sst_Med, x = pawpaw), "data.frame") at testthat/test-make_whole.R:10
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole(data = sst_Med, x = pawpaw)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 50. Error: y = any existing column (@test-make_whole.R#16)  -----------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole(data = sst_Med, y = pawpaw), "data.frame") at testthat/test-make_whole.R:16
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole(data = sst_Med, y = pawpaw)
  5: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  6: lubridate::yday
  7: getExportedValue(pkg, name)
  8: asNamespace(ns)
  9: getNamespace(ns)
  10: tryCatch(loadNamespace(name), error = function(e) stop(e))
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  13: value[[3L]](cond)
  
  -- 51. Error: make_whole_fast() returns a three column data.table (@test-make_wh
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole_fast(sst_Med), "data.table") at testthat/test-make_whole_fast.R:4
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole_fast(sst_Med)
  5: lubridate::ymd
  6: getExportedValue(pkg, name)
  7: asNamespace(ns)
  8: getNamespace(ns)
  9: tryCatch(loadNamespace(name), error = function(e) stop(e))
  10: tryCatchList(expr, classes, parentenv, handlers)
  11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  12: value[[3L]](cond)
  
  -- 52. Error: x = any existing column (@test-make_whole_fast.R#10)  ------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole_fast(data = sst_Med, x = pawpaw), "data.table") at testthat/test-make_whole_fast.R:10
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole_fast(data = sst_Med, x = pawpaw)
  5: lubridate::ymd
  6: getExportedValue(pkg, name)
  7: asNamespace(ns)
  8: getNamespace(ns)
  9: tryCatch(loadNamespace(name), error = function(e) stop(e))
  10: tryCatchList(expr, classes, parentenv, handlers)
  11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  12: value[[3L]](cond)
  
  -- 53. Error: y = any existing column (@test-make_whole_fast.R#16)  ------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: expect_is(make_whole_fast(data = sst_Med, y = pawpaw), "data.table") at testthat/test-make_whole_fast.R:16
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: make_whole_fast(data = sst_Med, y = pawpaw)
  5: lubridate::ymd
  6: getExportedValue(pkg, name)
  7: asNamespace(ns)
  8: getNamespace(ns)
  9: tryCatch(loadNamespace(name), error = function(e) stop(e))
  10: tryCatchList(expr, classes, parentenv, handlers)
  11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  12: value[[3L]](cond)
  
  -- 54. Error: na_interp() doesn't fall over (@test-na_interp.R#4)  -------------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: heatwaveR:::make_whole_fast(sst_WA) at testthat/test-na_interp.R:4
  2: lubridate::ymd
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 55. Error: na_interp() handles unusual maxPadLength values correctly (@test-n
  ICU init failed: U_FILE_ACCESS_ERROR
  1: heatwaveR:::make_whole_fast(sst_WA) at testthat/test-na_interp.R:10
  2: lubridate::ymd
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  -- 56. Error: proto_event() returns the correct output (@test-proto_event.R#4)  
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-proto_event.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 57. Error: function stops if no events are detected (@test-proto_event.R#17) 
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_Med, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-proto_event.R:17
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 58. Error: joinAcrossGaps = FALSE creates more events (@test-proto_event.R#27
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-proto_event.R:27
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 59. Error: smooth_percentile() returns the correct output (@test-smooth_perce
  ICU init failed: U_FILE_ACCESS_ERROR
  1: make_whole(ts_xy, x = ts_x, y = ts_y) at testthat/test-smooth_percentile.R:6
  2: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  3: lubridate::yday
  4: getExportedValue(pkg, name)
  5: asNamespace(ns)
  6: getNamespace(ns)
  7: tryCatch(loadNamespace(name), error = function(e) stop(e))
  8: tryCatchList(expr, classes, parentenv, handlers)
  9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  10: value[[3L]](cond)
  
  -- 60. Error: ts2clm() returns the correct output (@test-ts2clm.R#4)  ----------
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-ts2clm.R:4
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 61. Failure: the start/end dates must not be before/after the clim limits (@t
  `ts2clm(sst_WA, climatologyPeriod = c("1973-01-01", "2012-12-31"))` threw an error with unexpected message.
  Expected match: "The specified start date precedes the first day of series, which is 1982-01-01"
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 62. Failure: the start/end dates must not be before/after the clim limits (@t
  `ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2023-12-31"))` threw an error with unexpected message.
  Expected match: "The specified end date follows the last day of series, which is 2014-12-31"
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 63. Error: smooth_percentile = FALSE prevents smoothing (@test-ts2clm.R#42)  
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-ts2clm.R:42
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 64. Error: clmOnly = TRUE returns only the clim data (@test-ts2clm.R#49)  ---
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"), clmOnly = TRUE) at testthat/test-ts2clm.R:49
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 65. Error: robust = TRUE switches to the slower function but produces same re
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"), robust = TRUE) at testthat/test-ts2clm.R:57
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  -- 66. Failure: climatologyPeriod less than three years is rejected (@test-ts2cl
  `ts2clm(sst_WA, climatologyPeriod = c("2011-01-01", "2012-12-31"))` threw an error with unexpected message.
  Expected match: "The climatologyPeriod must be at least three years to calculate thresholds"
  Actual message: "ICU init failed: U_FILE_ACCESS_ERROR"
  
  -- 67. Error: mssing data causes na_interp() to be used (@test-ts2clm.R#70)  ---
  ICU init failed: U_FILE_ACCESS_ERROR
  1: ts2clm(sst_WA_NA, climatologyPeriod = c("1983-01-01", "2012-12-31")) at testthat/test-ts2clm.R:70
  2: make_whole(ts_xy, x = ts_x, y = ts_y)
  3: data.table::data.table(doy = lubridate::yday(t_series), date = as.Date(as.POSIXct(t_series)), 
         ts_y = as.numeric(t_series))
  4: lubridate::yday
  5: getExportedValue(pkg, name)
  6: asNamespace(ns)
  7: getNamespace(ns)
  8: tryCatch(loadNamespace(name), error = function(e) stop(e))
  9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: value[[3L]](cond)
  
  == testthat results  ===========================================================
  OK: 8 SKIPPED: 0 FAILED: 67
  1. Error: block_average() returns the correct tibble and columns (@test-block_average.R#4) 
  2. Error: block_average() report argument behaves as expected (@test-block_average.R#12) 
  3. Error: category() returns the correct tibbles and columns (@test-category.R#4) 
  4. Error: The seasons by hemisphere come out correctly (@test-category.R#12) 
  5. Error: The name argument works correctly (@test-category.R#21) 
  6. Error: y = any existing column (@test-category.R#30) 
  7. Error: season splits work under all circumstances (@test-category.R#37) 
  8. Error: clim_calc() returns the correct output (@test-clim_calc.R#6) 
  9. Error: clim_spread() returns the correct output (@test-clim_spread.R#6) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted