Running examples in ‘Andromeda-Ex.R’ failed
The error most likely occurred in:
> ### Name: appendToTable
> ### Title: Append to an Andromeda table
> ### Aliases: appendToTable
>
> ### ** Examples
>
> andr <- andromeda(cars = cars)
...
> # [1] 50
>
> appendToTable(andr$cars, cars)
Error in `appendToTable()`:
! First argument must be a base table (cannot be a query result)
Backtrace:
▆
1. └─Andromeda::appendToTable(andr$cars, cars)
2. └─rlang::abort("First argument must be a base table (cannot be a query result)")
Execution halted
checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
── Error (test-batching.R:30:3): batchApply safe mode ──────────────────────────
Error in `appendToTable(andromeda$cars2, batch)`: First argument must be a base table (cannot be a query result)
Backtrace:
▆
1. └─Andromeda::batchApply(...) at test-batching.R:30:2
2. ├─base::tryCatch(...)
3. │ └─base tryCatchList(expr, classes, parentenv, handlers)
4. ├─base::do.call(fun, append(list(batch), list(...)))
5. └─Andromeda `<fn>`(`<df[,2]>`, multiplier = 2)
6. └─Andromeda::appendToTable(andromeda$cars2, batch) at test-batching.R:27:6
7. └─rlang::abort("First argument must be a base table (cannot be a query result)")
[ FAIL 7 | WARN 0 | SKIP 1 | PASS 85 ]
Error: Test failures
Execution halted
checking re-building of vignette outputs ... WARNING
Error(s) in re-building vignettes:
...
--- re-building ‘UsingAndromeda.Rmd’ using rmarkdown
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
...
Quitting from lines 58-59 (UsingAndromeda.Rmd)
Error: processing vignette 'UsingAndromeda.Rmd' failed with diagnostics:
First argument must be a base table (cannot be a query result)
--- failed re-building ‘UsingAndromeda.Rmd’
SUMMARY: processing the following file failed:
‘UsingAndromeda.Rmd’
Error: Vignette re-building failed.
Execution halted
It looks like the problems are fixed in the dev version, but you might want to double check and/or push a release to CRAN. We're planning on submitting dbplyr on June 3.
We see
checking examples ... ERROR
checking tests ... ERROR
checking re-building of vignette outputs ... WARNING
It looks like the problems are fixed in the dev version, but you might want to double check and/or push a release to CRAN. We're planning on submitting dbplyr on June 3.