- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘isoWater/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘isoWater’ version ‘1.2.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘isoWater’ can be installed ... [1s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/9s] ERROR
Running examples in ‘isoWater-Ex.R’ failed
The error most likely occurred in:
> ### Name: wiDB_data
> ### Title: Obtain data from wiDB using a query
> ### Aliases: wiDB_data
>
> ### ** Examples
>
> #Download data for US precipitation in the 1990s
> vals = wiDB_data(minDate = "1990-01-01", maxDate = "2000-01-01",
+ countries = "US", types = "Precipitation")
Error in wiDB_data(minDate = "1990-01-01", maxDate = "2000-01-01", countries = "US", :
object 'd' not found
Calls: wiDB_data -> message -> paste
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1s/2s] ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(curl)
Using libcurl 8.14.1 with LibreSSL/3.3.6
> library(isoWater)
>
> test_check("isoWater")
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 6
Total graph size: 72
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 6
Total graph size: 72
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 6
Total graph size: 72
Initializing model
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 6
Total graph size: 72
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 6
Total graph size: 72
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 4
Total graph size: 46
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 4
Total graph size: 46
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 4
Total graph size: 46
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 4
Total graph size: 46
Initializing model
Compiling model graph
Resolving undeclared variables
Allocating nodes
Graph information:
Observed stochastic nodes: 1
Unobserved stochastic nodes: 4
Total graph size: 46
Initializing model
Saving _problems/test-wiDB-21.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-wiDB.R:20:3'): (code run outside of `test_that()`) ─────────────
Error in `wiDB_data(minDate = "1990-01-01", maxDate = "1990-02-01", countries = "US", types = "Precipitation")`: object 'd' not found
Backtrace:
▆
1. └─isoWater::wiDB_data(...) at test-wiDB.R:20:3
2. ├─base::message(paste("Request returned error code", d$status_code))
3. └─base::paste("Request returned error code", d$status_code)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/5s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘isoWater.Rmd’ using rmarkdown
2026-09-22 11:25:01.163 R[70648:256368] XType: Using static font registry.
Quitting from isoWater.Rmd:52-55 [query2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `wiDB_data()`:
! object 'd' not found
---
Backtrace:
▆
1. └─isoWater::wiDB_data(...)
2. ├─base::message(paste("Request returned error code", d$status_code))
3. └─base::paste("Request returned error code", d$status_code)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'isoWater.Rmd' failed with diagnostics:
object 'd' not found
--- failed re-building ‘isoWater.Rmd’
SUMMARY: processing the following file failed:
‘isoWater.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 3 ERRORs