Running 'testthat.R' [164s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(reslr)
  > library(vdiffr)
  > 
  > co <- function(expr) capture.output(expr, file = "NUL")
  > 
  > # testthat::test_check("reslr")
  > test_check("reslr")
  module glm loaded
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 52
     Unobserved stochastic nodes: 15
     Total graph size: 915
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 52
     Unobserved stochastic nodes: 70
     Total graph size: 3726
  
  Initializing model
  
  No convergence issues detected. 
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 52
     Unobserved stochastic nodes: 15
     Total graph size: 915
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 52
     Unobserved stochastic nodes: 70
     Total graph size: 3726
  
  Initializing model
  
  No convergence issues detected. 
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 107
     Total graph size: 841
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 109
     Total graph size: 1273
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 111
     Total graph size: 1924
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 110
     Total graph size: 21651
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 104
     Unobserved stochastic nodes: 15
     Total graph size: 1799
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 104
     Unobserved stochastic nodes: 18
     Total graph size: 3764
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 169
     Unobserved stochastic nodes: 90
     Total graph size: 15488
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 169
     Unobserved stochastic nodes: 95
     Total graph size: 32273
  
  Initializing model
  
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 337
     Unobserved stochastic nodes: 49
     Total graph size: 12944
  
  Initializing model
  
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Adding missing grouping variables: `SiteName`
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 337
     Unobserved stochastic nodes: 258
     Total graph size: 166541
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 107
     Total graph size: 1003
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 109
     Total graph size: 1651
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 208
     Unobserved stochastic nodes: 110
     Total graph size: 390147
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 104
     Unobserved stochastic nodes: 15
     Total graph size: 1799
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 104
     Unobserved stochastic nodes: 72
     Total graph size: 5330
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 169
     Unobserved stochastic nodes: 90
     Total graph size: 15488
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 169
     Unobserved stochastic nodes: 197
     Total graph size: 50531
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 189
     Unobserved stochastic nodes: 92
     Total graph size: 17691
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 189
     Unobserved stochastic nodes: 149
     Total graph size: 46268
  
  Initializing model
  
  Saving _problems/test-test_plot.reslr_input-27.R
  Saving _problems/test-test_reslr_load-64.R
  Saving _problems/test-test_reslr_load-86.R
  Saving _problems/test-test_reslr_load-108.R
  Saving _problems/test-test_reslr_load-152.R
  [ FAIL 5 | WARN 5 | SKIP 1 | PASS 56 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-test_plot.reslr_input.R:13:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-test_plot.reslr_input.R:20:1'): (code run outside of `test_that()`) ──
  Error in `utils::download.file(url, destfile = temp_file, quiet = TRUE)`: cannot open URL 'https://psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip'
  Backtrace:
      ▆
   1. └─reslr::reslr_load(...) at test-test_plot.reslr_input.R:20:1
   2.   └─reslr:::clean_tidal_gauge_data(...)
   3.     └─utils::download.file(url, destfile = temp_file, quiet = TRUE)
  ── Error ('test-test_reslr_load.R:54:3'): Simplest example with closest tide gauge ──
  Error in `utils::download.file(url, destfile = temp_file, quiet = TRUE)`: cannot open URL 'https://psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip'
  Backtrace:
      ▆
   1. └─reslr::reslr_load(...) at test-test_reslr_load.R:54:3
   2.   └─reslr:::clean_tidal_gauge_data(...)
   3.     └─utils::download.file(url, destfile = temp_file, quiet = TRUE)
  ── Error ('test-test_reslr_load.R:76:3'): Simplest example with list of tide gauges ──
  Error in `utils::download.file(url, destfile = temp_file, quiet = TRUE)`: cannot open URL 'https://psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip'
  Backtrace:
      ▆
   1. └─reslr::reslr_load(...) at test-test_reslr_load.R:76:3
   2.   └─reslr:::clean_tidal_gauge_data(...)
   3.     └─utils::download.file(url, destfile = temp_file, quiet = TRUE)
  ── Error ('test-test_reslr_load.R:98:3'): Simplest example with all tide gauges within 1 degree ──
  Error in `utils::download.file(url, destfile = temp_file, quiet = TRUE)`: cannot open URL 'https://psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip'
  Backtrace:
      ▆
   1. └─reslr::reslr_load(...) at test-test_reslr_load.R:98:3
   2.   └─reslr:::clean_tidal_gauge_data(...)
   3.     └─utils::download.file(url, destfile = temp_file, quiet = TRUE)
  ── Error ('test-test_reslr_load.R:142:3'): Simplest example with linear rate and closes tide gauge ──
  Error in `utils::download.file(url, destfile = temp_file, quiet = TRUE)`: cannot open URL 'https://psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip'
  Backtrace:
      ▆
   1. └─reslr::reslr_load(...) at test-test_reslr_load.R:142:3
   2.   └─reslr:::clean_tidal_gauge_data(...)
   3.     └─utils::download.file(url, destfile = temp_file, quiet = TRUE)
  
  [ FAIL 5 | WARN 5 | SKIP 1 | PASS 56 ]
  Deleting unused snapshots: 'test_plot.reslr_input/inputplot3sites.svg',
  'test_plot.reslr_input/inputplot3sitestg.svg', and
  'test_plot.reslr_input/inputplottg1site.svg'
  Error:
  ! Test failures.
  Execution halted