- using R version 4.4.0 (2024-04-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-24) 13.2.0
GNU Fortran (Debian 13.2.0-24) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘prqlr/DESCRIPTION’ ... OK
- this is package ‘prqlr’ version ‘0.8.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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘prqlr’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-13 (Debian 13.2.0-24) 13.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking whether startup messages can be suppressed ... [0s/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 ... [4s/5s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/8s] ERROR
Running ‘testthat.R’ [7s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(prqlr)
>
> test_check("prqlr")
[ FAIL 7 | WARN 0 | SKIP 17 | PASS 13 ]
══ Skipped tests (17) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-compile.R:60:3', 'test-compile.R:74:5',
'test-compile.R:74:5', 'test-compile.R:74:5', 'test-compile.R:94:5',
'test-compile.R:94:5', 'test-compile.R:94:5', 'test-compile.R:94:5',
'test-compile.R:94:5', 'test-compile.R:94:5', 'test-compile.R:94:5',
'test-compile.R:94:5', 'test-compile.R:94:5', 'test-compile.R:94:5',
'test-compile.R:94:5', 'test-compile.R:94:5', 'test-compile.R:100:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-knitr-engine.R:22:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[4] | [4]
[5] | [5]
[6] | [6]
[7] ```elm - ``` elm [7]
[8] from mtcars | from mtcars [8]
[9] filter cyl > 6 | filter cyl > 6 [9]
[10] select {cyl, mpg} | select {cyl, mpg} [10]
old | new
[31] ``` | ``` [31]
[32] | [32]
[33] | [33]
[34] ```elm - ``` elm [34]
[35] from mtcars | from mtcars [35]
[36] filter cyl > 6 | filter cyl > 6 [36]
[37] select {cyl, mpg} | select {cyl, mpg} [37]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:23:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[4] | [4]
[5] | [5]
[6] | [6]
[7] ```elm - ``` elm [7]
[8] from mtcars | from mtcars [8]
[9] filter cyl > 6 | filter cyl > 6 [9]
[10] select {cyl, mpg} | select {cyl, mpg} [10]
old | new
[31] ``` | ``` [31]
[32] | [32]
[33] | [33]
[34] ```elm - ``` elm [34]
[35] from mtcars | from mtcars [35]
[36] filter cyl > 6 | filter cyl > 6 [36]
[37] select {cyl, mpg} | select {cyl, mpg} [37]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:24:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old[3:9] vs new[3:9]
prqlr.signature_comment = FALSE), .knit_file("minimal.Rmd"))
Output
- ```elm
+ ``` elm
from mtcars
filter cyl > 6
select {cyl, mpg}
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:31:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[2] .knit_file("glue.Rmd") | .knit_file("glue.Rmd") [2]
[3] Output | Output [3]
[4] | [4]
[5] ```r - ``` r [5]
[6] a <- "hello" | a <- "hello" [6]
[7] b <- "world" | b <- "world" [7]
[8] ``` | ``` [8]
[9] | [9]
[10] | [10]
[11] ```elm - ``` elm [11]
... ... ... and 3 more ...
old | new
[23] | [23]
[24] | [24]
[25] | [25]
[26] ```elm - ``` elm [26]
[27] from mtcars | from mtcars [27]
[28] select hello | select hello [28]
[29] ``` | ``` [29]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:32:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[2] .knit_file("change-lang.Rmd") | .knit_file("change-lang.Rmd") [2]
[3] Output | Output [3]
[4] | [4]
[5] ```prql - ``` prql [5]
[6] from mtcars | from mtcars [6]
[7] filter cyl > 6 | filter cyl > 6 [7]
[8] select {cyl, mpg} | select {cyl, mpg} [8]
old | new
[28] | [28]
[29] | [29]
[30] | [30]
[31] ```foo - ``` foo [31]
[32] from mtcars | from mtcars [32]
[33] filter cyl > 6 | filter cyl > 6 [33]
[34] select {cyl, mpg} | select {cyl, mpg} [34]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:33:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[2] .knit_file("info-string.Rmd") | .knit_file("info-string.Rmd") [2]
[3] Output | Output [3]
[4] | [4]
[5] ```elm - ``` elm [5]
[6] from mtcars | from mtcars [6]
[7] filter cyl > 6 | filter cyl > 6 [7]
[8] select {cyl, mpg} | select {cyl, mpg} [8]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
── Failure ('test-knitr-engine.R:34:3'): Snapshot test of knitr-engine ─────────
Snapshot of code has changed:
old | new
[4] | [4]
[5] | [5]
[6] | [6]
[7] ```elm - ``` elm [7]
[8] from mtcars | from mtcars [8]
[9] filter cyl > 6 | filter cyl > 6 [9]
[10] select {cyl, mpg} | select {cyl, mpg} [10]
old | new
[13] ``` | ``` [13]
[14] | [14]
[15] | [15]
[16] ```elm - ``` elm [16]
[17] from mtcars | from mtcars [17]
[18] filter cyl > 6 | filter cyl > 6 [18]
[19] select {cyl, mpg} | select {cyl, mpg} [19]
old | new
[22] ``` | ``` [22]
[23] | [23]
[24] | [24]
[25] ```elm - ``` elm [25]
[26] from {{foo}} | from {{foo}} [26]
[27] ``` | ``` [27]
* Run `testthat::snapshot_accept('knitr-engine')` to accept the change.
* Run `testthat::snapshot_review('knitr-engine')` to interactively review the change.
[ FAIL 7 | WARN 0 | SKIP 17 | PASS 13 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/16s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR