* using log directory 'd:/Rcompile/CRANpkg/local/4.6/Rwtss.Rcheck' * using R Under development (unstable) (2025-07-21 r88439 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Rwtss/DESCRIPTION' ... OK * this is package 'Rwtss' version '0.9.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 'Rwtss' 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [3s] OK * checking Rd files ... [1s] NOTE checkRd: (-1) wtss_to_ts.Rd:31: Lost braces; missing escapes or markup? 31 | This period can be either {"month", "week", "day"}, | ^ checkRd: (-1) wtss_to_ts.Rd:32: Lost braces; missing escapes or markup? 32 | {"months", "weeks", "days"} or | ^ checkRd: (-1) wtss_to_ts.Rd:33: Lost braces; missing escapes or markup? 33 | {12, 52, 365}. This function creates a new time series with the required | ^ * 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(Rwtss) Rwtss - R interface to Web Time Series Service. Loaded Rwtss v0.9.2. See ?Rwtss for help, citation("Rwtss") for use in publication. See demo(package = "Rwtss") for examples. > > test_check("Rwtss") [ FAIL 16 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_wtss.R:9:13'): List coverages ──────────────────────────────── as.logical(grep("MOD13Q1", output[1])) is not TRUE `actual`: `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:4:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(as.logical(grep("MOD13Q1", output[1]))) at test_wtss.R:9:13 ── Failure ('test_wtss.R:19:9'): Describe coverage ───────────────────────────── as.logical(grep("satellite", output[5])) is not TRUE `actual`: `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:15:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(as.logical(grep("satellite", output[5]))) at test_wtss.R:19:9 ── Failure ('test_wtss.R:20:9'): Describe coverage ───────────────────────────── as.logical(grep("minimum_values", output[15])) is not TRUE `actual`: `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:15:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(as.logical(grep("minimum_values", output[15]))) at test_wtss.R:20:9 ── Failure ('test_wtss.R:21:9'): Describe coverage ───────────────────────────── as.logical(grep("maximum_values", output[20])) is not TRUE `actual`: `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:15:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(as.logical(grep("maximum_values", output[20]))) at test_wtss.R:21:9 ── Failure ('test_wtss.R:22:9'): Describe coverage ───────────────────────────── as.logical(grep("Timeline", output[29])) is not TRUE `actual`: `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:15:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(as.logical(grep("Timeline", output[29]))) at test_wtss.R:22:9 ── Failure ('test_wtss.R:45:9'): Time Series 2 ───────────────────────────────── ncol(ts$time_series[[1]]) == 7 is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:40:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(ncol(ts$time_series[[1]]) == 7) at test_wtss.R:45:9 ── Failure ('test_wtss.R:46:9'): Time Series 2 ───────────────────────────────── all(...) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:40:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(...) at test_wtss.R:46:9 ── Failure ('test_wtss.R:48:9'): Time Series 2 ───────────────────────────────── nrow(ts$time_series[[1]]) >= 452 is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:40:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(nrow(ts$time_series[[1]]) >= 452) at test_wtss.R:48:9 ── Failure ('test_wtss.R:70:9'): Time Series - errors ────────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:70:9 ── Failure ('test_wtss.R:75:9'): Time Series - errors ────────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:75:9 ── Failure ('test_wtss.R:81:9'): Time Series - errors ────────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:81:9 ── Failure ('test_wtss.R:87:9'): Time Series - errors ────────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:87:9 ── Failure ('test_wtss.R:93:9'): Time Series - errors ────────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:93:9 ── Failure ('test_wtss.R:100:9'): Time Series - errors ───────────────────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:64:5 2. │ └─cassette$call_block(...) 3. └─testthat::expect_true(purrr::is_null(ts)) at test_wtss.R:100:9 ── Error ('test_wtss.R:136:9'): Time Series - conversion to ts and zoo ───────── Error in `rval[i, j, drop = drop., ...]`: subscript out of bounds Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_wtss.R:111:5 2. │ └─cassette$call_block(...) 3. └─Rwtss::wtss_to_ts(ts, band = "ndvi", period = "week") at test_wtss.R:136:9 4. ├─zoo::merge.zoo(ts_zoo, ts_zoo_reg)[, band] 5. └─zoo:::`[.zoo`(zoo::merge.zoo(ts_zoo, ts_zoo_reg), , band) ── Failure ('test_wtss.R:184:5'): Bad connection to a WTSS service ───────────── purrr::is_null(ts) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 16 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR, 1 NOTE