- using R version 4.5.3 (2026-03-11 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
- checking for file 'iNZightTS/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'iNZightTS' version '2.0.4'
- 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 'iNZightTS' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [2s] 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 ... [10s] 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 examples ... [14s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [91s] ERROR
Running 'testthat.R' [90s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(iNZightTS)
>
> test_check("iNZightTS")
Saving _problems/test_feat-9.R
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Decomp variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Japan"`
Plot variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Decomp variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Summary variable not specified, automatically selected `var = Australia`
Predict variable not specified, automatically selected `var = "Visitors"`
Predict variable not specified, automatically selected `var = "Visitors"`
Predict variable not specified, automatically selected `var = "Visitors"`
Predict variable not specified, automatically selected `var = "Visitors"`
Summary variable not specified, automatically selected `var = Visitors`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Decomp variable not specified, automatically selected `var = "Australia"`
Decomp variable not specified, automatically selected `var = "Australia"`
Decomp variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Australia"`
Predict variable not specified, automatically selected `var = "Australia"`
Plot variable not specified, automatically selected `var = "Daily_Deaths"`
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 120 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_feat.R:9:5'): Seasonal subseries plots works for inzightts ─────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(Yearquarter, period)`.
Caused by error in `get()`:
! object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_s3_class(subseries(x, names(x)[-1]), "ggplot") at test_feat.R:9:5
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─iNZightTS::subseries(x, names(x)[-1])
5. │ ├─(function(.) structure(., use.plotly = ggplotable(.)))(...)
6. │ │ └─base::structure(., use.plotly = ggplotable(.))
7. │ └─base::lapply(...)
8. │ └─iNZightTS (local) FUN(X[[i]], ...)
9. │ └─iNZightTS:::plot_subseries(...)
10. │ └─ggtime::gg_subseries(x, !!var)
11. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE))
12. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE))
13. ├─dplyr::group_by(., !!sym("id"), !!!keys)
14. ├─dplyr::mutate(...)
15. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y)
16. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
17. │ ├─base::withCallingHandlers(...)
18. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
19. │ └─mask$eval_all_mutate(quo)
20. │ └─dplyr (local) eval()
21. ├─ggtime:::season_position_factor(Yearquarter, period)
22. │ └─ggtime:::season_position(x, period)
23. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE)
24. │ ├─base::is.na(x)
25. │ └─vecvec (local) `is.na.vecvec::vecvec`(x)
26. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
27. │ │ └─vecvec::is_vecvec(x)
28. │ │ └─S7::S7_inherits(x, class_vecvec)
29. │ │ └─S7:::class_inherits(x, class)
30. │ └─vecvec::vecvec_apply(x, is.na)
31. │ └─base::lapply(x@x, .f, ...)
32. │ └─base::match.fun(FUN)
33. │ └─base::get(as.character(FUN), mode = "function", envir = envir)
34. └─base::.handleSimpleError(...)
35. └─dplyr (local) h(simpleError(msg, call))
36. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 120 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR