* using log directory 'd:/Rcompile/CRANpkg/local/4.6/isoWater.Rcheck'
* using R version 4.6.1 (2026-06-24 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 14.3.0
    GNU Fortran (GCC) 14.3.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* current time: 2026-09-16 13:10:08 UTC
* 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 hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'isoWater' can be installed ... OK
* 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 ... [1s] OK
* checking whether the package can be loaded with stated dependencies ... [1s] OK
* checking whether the package can be unloaded cleanly ... [1s] OK
* checking whether the namespace can be loaded with stated dependencies ... [1s] OK
* checking whether the namespace can be unloaded cleanly ... [1s] OK
* checking loading without being on the library search path ... [1s] OK
* checking use of S3 registration ... 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 ... [4s] OK
* checking Rd files ... [1s] 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] 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 ... [3s] 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 ... [6s] ERROR
  Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(curl)
  Using libcurl 8.14.1 with Schannel
  > 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
  
  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
  
  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 ... [3s] ERROR
Error(s) in re-building vignettes:
--- re-building 'isoWater.Rmd' using rmarkdown

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 ... [19s] OK
* checking HTML version of manual ... [3s] OK
* DONE
Status: 3 ERRORs
