Last updated on 2020-08-07 01:50:11 CEST.
Package | ERROR | WARN | NOTE | OK |
---|---|---|---|---|
Rpolyhedra | 1 | 4 | 7 | |
RSQL | 2 | 4 | 6 |
Current CRAN status: WARN: 1, NOTE: 4, OK: 7
Version: 0.4.2
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘dplyr’ ‘testthat’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.4.2
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
Warning: 'rgl_init' failed, running with rgl.useNULL = TRUE
Flavor: r-oldrel-macos-x86_64
Current CRAN status: ERROR: 2, NOTE: 4, OK: 6
Version: 0.1.4
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘RSQLite’ ‘knitr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
2. RSQL:::sql_gen_update(...)
3. RSQL::stuff_df_quoted(text.df = values.df)
4. base::sapply(text.df[i, ], FUN = rm_quotes)
5. base::lapply(X = X, FUN = FUN, ...)
6. RSQL:::FUN(X[[i]], ...)
7. base::substr(text, nchar(text), nchar(text))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 20 | SKIPPED: 0 | WARNINGS: 7 | FAILED: 1 ]
1. Error: sql_lib select, insert, update and delete with dataframe and stuffed apostrophe (@test_sql_lib.R#138)
Error: testthat unit tests failed
Execution halted
Finalizing object and disconnecting
Finalizing object and disconnecting
Flavor: r-oldrel-macos-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DBI)
> library(RSQLite)
> library(RSQL)
> library(lgr)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
>
> log.levels <- lgr::get_log_levels()
>
> lgr$set_threshold(log.levels["debug"])
>
>
>
> test_check("RSQL")
Finalizing object and disconnecting
-- 1. Error: sql_lib select, insert, update and delete with dataframe and stuffe
'nchar()' requires a character vector
Backtrace:
1. rsql$gen_update("mtcars", values = update_values, where_values = where_values_df)
2. RSQL:::sql_gen_update(...)
3. RSQL::stuff_df_quoted(text.df = values.df)
4. base::sapply(text.df[i, ], FUN = rm_quotes)
5. base::lapply(X = X, FUN = FUN, ...)
6. RSQL:::FUN(X[[i]], ...)
7. base::substr(text, nchar(text), nchar(text))
== testthat results ===========================================================
[ OK: 20 | SKIPPED: 0 | WARNINGS: 7 | FAILED: 1 ]
1. Error: sql_lib select, insert, update and delete with dataframe and stuffed apostrophe (@test_sql_lib.R#138)
Error: testthat unit tests failed
Execution halted
Finalizing object and disconnecting
Flavor: r-oldrel-windows-ix86+x86_64