- 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 'lookupTable/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'lookupTable' version '0.1'
- 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 'lookupTable' 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 ... [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 ... [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 ... [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 LazyData ... NOTE
'LazyData' is specified without a 'data' directory
- checking examples ... [2s] ERROR
Running examples in 'lookupTable-Ex.R' failed
The error most likely occurred in:
> ### Name: predict.lookupTable
> ### Title: Predictions from a look-up table
> ### Aliases: predict.lookupTable
>
> ### ** Examples
>
> df.input <- cars
> response <- 'dist'
> feature.boundaries <- list(c(-Inf, 5, 10, 15, 20, 25, Inf))
> features.con <- c('speed')
> dist.table <- lookupTable(df.input, response, feature.boundaries, features.con)
Error:
! `summarise_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `summarise()` instead.
Backtrace:
▆
1. └─lookupTable::lookupTable(...)
2. └─methods::new(`<chr>`, ...)
3. ├─methods::initialize(value, ...)
4. └─lookupTable (local) initialize(value, ...)
5. └─lookupTable (local) .local(.Object, ...)
6. └─dplyr::summarise_(...)
7. └─dplyr:::lazy_defunct("summarise", hint = FALSE)
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [2s] ERROR
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(lookupTable)
Loading required package: data.table
>
> test_check("lookupTable")
Saving _problems/test.lookupTable-8.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test.lookupTable.R:8:1'): (code run outside of `test_that()`) ───────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `summarise_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `summarise()` instead.
Backtrace:
▆
1. └─lookupTable::lookupTable(...) at test.lookupTable.R:8:1
2. └─methods::new(`<chr>`, ...)
3. ├─methods::initialize(value, ...)
4. └─lookupTable (local) initialize(value, ...)
5. └─lookupTable (local) .local(.Object, ...)
6. └─dplyr::summarise_(...)
7. └─dplyr:::lazy_defunct("summarise", hint = FALSE)
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 2 ERRORs, 1 NOTE