Package suggested but not available for checking: ‘hier.part’
Undeclared package ‘SciViews’ in Rd xrefs
Unknown package ‘hier.part’ in Rd xrefs
Package suggested but not available for checking: 'hier.part'

Running ‘testthat.R’ [16s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(hyd1d)
  'df.gauging_data' locally stored at
  /home/hornik/tmp/scratch/RtmpQuisWn/df.gauging_data_latest.RDS
  was last downloaded 2023-10-20 22:06:34 CEST
  > 
  > test_check("hyd1d")
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 127 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_getW.R:49:5'): getPegelonlineW ─────────────────────────────────
  Error: unable to find an inherited method for function 'fromJSON' for signature 'content = "logical", handler = "missing"'
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_getW.R:49:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─hyd1d::getPegelonlineW(gauging_station = "DESSAU", time = times)
   5.   └─RJSONIO::fromJSON(w_string)
   6.     └─methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 127 ]
  Error: Test failures
  Execution halted

'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory

'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory