CRAN Package Check Results for Package SqlRender

Last updated on 2019-07-16 01:50:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.2 2.91 51.96 54.87 OK
r-devel-linux-x86_64-debian-gcc 1.6.2 2.86 42.22 45.08 OK
r-devel-linux-x86_64-fedora-clang 1.6.2 68.39 OK
r-devel-linux-x86_64-fedora-gcc 1.6.2 60.09 ERROR
r-devel-windows-ix86+x86_64 1.6.2 20.00 95.00 115.00 OK
r-patched-linux-x86_64 1.6.2 3.10 52.91 56.01 OK
r-patched-solaris-x86 1.6.2 90.50 OK
r-release-linux-x86_64 1.6.2 2.83 52.49 55.32 OK
r-release-windows-ix86+x86_64 1.6.2 14.00 96.00 110.00 OK
r-release-osx-x86_64 1.6.2 OK
r-oldrel-windows-ix86+x86_64 1.6.2 7.00 73.00 80.00 OK
r-oldrel-osx-x86_64 1.6.2 OK

Check Details

Version: 1.6.2
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("SqlRender")
     Loading required package: SqlRender
     Reading SQL from package folder: /data/gannet/ripley/R/packages/tests-devel/SqlRender.Rcheck/SqlRender/sql/sql_server/test.sql
     Writing R function to: /tmp/Rtmp6sv8LK/file534c4a71b848
     Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl, :
     RcallMethod: cannot determine object class
     Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl, :
     RcallMethod: cannot determine object class
     ── 1. Error: (unknown) (@test-renderSql.R#158) ────────────────────────────────
     no field, method or inner class called 'handled'
     1: test_that("rendering: warning on parameter name mismatch", {
     expect_warning(render("SELECT * FROM @my_table", a_table = "x"))
     }) at testthat/test-renderSql.R:158
     2: test_code(desc, code, env = parent.frame())
     3: tryCatch(withCallingHandlers({
     eval(code, test_env)
     if (!handled && !is.null(test)) {
     skip_empty()
     }
     }, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,
     message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) {
     })
     4: tryCatchList(expr, classes, parentenv, handlers)
     5: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh],
     parentenv, handlers[[nh]])
     6: doTryCatch(return(expr), name, parentenv, handler)
     7: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     9: value[[3L]](cond)
     10: isTRUE(e$handled)
     11: e$handled
     12: `$.Throwable`(e, "handled")
     13: ._jobjRef_dollar(x[["jobj"]], name)
     14: stop(sprintf("no field, method or inner class called '%s' ", name))
    
     Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl, :
     RcallMethod: cannot determine object class
     Error in .jcall("java/lang/Class", "Ljava/lang/Class;", "forName", cl, :
     RcallMethod: cannot determine object class
     ── 2. Error: (unknown) (@test-translateSql.R#789) ─────────────────────────────
     no field, method or inner class called 'handled'
     1: test_that("translate: warning on temp table name that is too long", {
     expect_warning(translate("SELECT * FROM #abcdefghijklmnopqrstuvwxyz", "pdw"))
     }) at testthat/test-translateSql.R:789
     2: test_code(desc, code, env = parent.frame())
     3: tryCatch(withCallingHandlers({
     eval(code, test_env)
     if (!handled && !is.null(test)) {
     skip_empty()
     }
     }, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,
     message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) {
     })
     4: tryCatchList(expr, classes, parentenv, handlers)
     5: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh],
     parentenv, handlers[[nh]])
     6: doTryCatch(return(expr), name, parentenv, handler)
     7: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     9: value[[3L]](cond)
     10: isTRUE(e$handled)
     11: e$handled
     12: `$.Throwable`(e, "handled")
     13: ._jobjRef_dollar(x[["jobj"]], name)
     14: stop(sprintf("no field, method or inner class called '%s' ", name))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 196 SKIPPED: 0 WARNINGS: 0 FAILED: 2
     1. Error: (unknown) (@test-renderSql.R#158)
     2. Error: (unknown) (@test-translateSql.R#789)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc