- 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 'panelr/DESCRIPTION' ... OK
- this is package 'panelr' version '1.0.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 'panelr' 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 ... [5s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s] OK
- checking loading without being on the library search path ... [5s] OK
- checking whether startup messages can be suppressed ... [5s] 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 ... [25s] 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 ... [1s] 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 ... [35s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [93s] ERROR
Running 'testthat.R' [93s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
Saving _problems/test-utils-33.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-utils.R:33:3'): dplyr functions return panel_data objects ──────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `mutate_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `mutate()` instead.
ℹ See vignette('programming') for more help
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-utils.R:32:3
2. │ └─base::withCallingHandlers(...)
3. ├─testthat::expect_s3_class(mutate_(w, gender = "fem"), "panel_data") at test-utils.R:33:3
4. │ └─testthat::quasi_label(enquo(object))
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. └─dplyr::mutate_(w, gender = "fem")
7. └─dplyr:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [35s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [13s] OK
- DONE
Status: 1 ERROR