* using log directory 'd:/RCompile/CRANincoming/R-devel/SCDB.Rcheck' * using R Under development (unstable) (2023-11-26 r85638 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'SCDB/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'SCDB' version '0.2.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Marcus Munch Grünewald ' New maintainer: Marcus Munch Grünewald Old maintainer(s): Rasmus Skytte Randløv * 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 serialization versions ... OK * checking whether package 'SCDB' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'test.SQLite' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 ... WARNING Functions or methods with usage in Rd file 'is_historical.Rd' but not in code: 'is_historical' * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'SCDB-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: is_historical > ### Title: Checks if table contains historical data > ### Aliases: is_historical > > ### ** Examples > > conn <- get_connection(drv = RSQLite::SQLite()) > > dplyr::copy_to(conn, mtcars, name = id("mtcars", conn)) > create_table(mtcars, conn, db_table_id = id("mtcars_historical", conn)) > > is_historical(get_table(conn, "mtcars")) # FALSE Error in is_historical(get_table(conn, "mtcars")) : could not find function "is_historical" Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [38s] ERROR Running 'spelling.R' Running 'testthat.R' [38s] 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(SCDB) Attaching package: 'SCDB' The following object is masked from 'package:base': nrow > > # Run the test using the default system connection > test_check("SCDB") [conflicted] Will prefer SCDB::id over any other package. No useful drivers (other than SQLite) were found! ##### Following drivers will be tested: RSQLite::SQLite (SQLite) Following drivers were not found and will NOT be tested: RPostgres::Postgres (PostgreSQL) ##### It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. It looks like you tried to incorrectly use a table in a schema as source. i If you want to specify a schema use `in_schema()` or `in_catalog()`. i If your table actually contains "." in the name use `check_from = FALSE` to silence this message. [ FAIL 3 | WARN 0 | SKIP 0 | PASS 269 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-non_ascii.R:39:5'): Code contains no non-ASCII characters ────── Error in `eval(code, test_env)`: .Rd files could not be located ── Error ('test-rd-files.R:56:3'): .Rd files have \examples ──────────────────── Error in `test_field_in_documentation("example")`: .Rd files could not be located Backtrace: ▆ 1. └─SCDB (local) test_field_in_documentation("example") at test-rd-files.R:56:3 ── Error ('test-rd-files.R:61:3'): .Rd files have \value ─────────────────────── Error in `test_field_in_documentation("value")`: .Rd files could not be located Backtrace: ▆ 1. └─SCDB (local) test_field_in_documentation("value") at test-rd-files.R:61:3 [ FAIL 3 | WARN 0 | SKIP 0 | PASS 269 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 1 WARNING, 2 NOTEs