- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'feisr/DESCRIPTION' ... OK
- this is package 'feisr' version '1.3.0'
- 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 'feisr' can be installed ... 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [7s] OK
- checking Rd files ... [2s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [2s] ERROR
Running examples in 'feisr-Ex.R' failed
The error most likely occurred in:
> ### Name: detrend
> ### Title: Detrend data by individual slopes
> ### Aliases: detrend
>
> ### ** Examples
>
> data("mwp", package = "feisr")
>
> # Detrend entire data.frame
> mwp_det <- detrend(data = mwp, slopes = c("exp", "expq"), id = "id")
Error in `list_flatten()`:
! `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::detrend(data = mwp, slopes = c("exp", "expq"), id = "id")
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [8s] ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(feisr)
>
> test_check("feisr")
Saving _problems/test_CREIS-14.R
Saving _problems/test_CollinearityHandling-22.R
Saving _problems/test_EstimationResults-46.R
Saving _problems/test_detrend-15.R
Saving _problems/test_feistest-12.R
Saving _problems/test_methods-11.R
Saving _problems/test_rownames-16.R
Saving _problems/test_slopes-15.R
Saving _problems/test_weights-20.R
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_CREIS.R:13:1'): (code run outside of `test_that()`) ────────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_CREIS.R:13:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_CollinearityHandling.R:19:1'): (code run outside of `test_that()`) ──
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_CollinearityHandling.R:19:1
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─feisr::feis(...)
7. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
8. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
9. │ └─vctrs::obj_check_list(x)
10. └─vctrs:::stop_non_list_type(x, y, z)
11. └─cli::cli_abort(...)
12. └─rlang::abort(...)
── Error ('test_EstimationResults.R:45:1'): (code run outside of `test_that()`) ──
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_EstimationResults.R:45:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_detrend.R:14:1'): (code run outside of `test_that()`) ──────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_detrend.R:14:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_feistest.R:11:1'): (code run outside of `test_that()`) ─────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_feistest.R:11:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_methods.R:10:1'): (code run outside of `test_that()`) ──────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_methods.R:10:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_rownames.R:15:1'): (code run outside of `test_that()`) ─────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_rownames.R:15:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_slopes.R:14:1'): (code run outside of `test_that()`) ───────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_slopes.R:14:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
── Error ('test_weights.R:19:1'): (code run outside of `test_that()`) ──────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─feisr::feis(...) at test_weights.R:19:1
2. │ └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s] ERROR
Error(s) in re-building vignettes:
--- re-building 'feisr-vignette.Rmd' using rmarkdown
Quitting from feisr-vignette.Rmd:81-84 [feis0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `list_flatten()`:
! `x` must be a list, not a list matrix.
---
Backtrace:
▆
1. └─feisr::feis(lnw ~ marry | year, data = mwp, id = "id")
2. └─dplyr::bind_rows(rbind(dhat), .id = NULL)
3. └─dplyr:::list_flatten(dots, fn = is_flattenable)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'feisr-vignette.Rmd' failed with diagnostics:
`x` must be a list, not a list matrix.
--- failed re-building 'feisr-vignette.Rmd'
SUMMARY: processing the following file failed:
'feisr-vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 3 ERRORs