CRAN Package Check Results for Package RPresto

Last updated on 2018-11-24 00:51:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.2 23.25 38.21 61.46 OK
r-devel-linux-x86_64-debian-gcc 1.3.2 20.20 30.51 50.71 OK
r-devel-linux-x86_64-fedora-clang 1.3.2 81.69 OK
r-devel-linux-x86_64-fedora-gcc 1.3.2 76.99 OK
r-devel-windows-ix86+x86_64 1.3.2 56.00 89.00 145.00 OK
r-patched-linux-x86_64 1.3.2 27.99 35.70 63.69 ERROR
r-patched-solaris-x86 1.3.2 92.00 OK
r-release-linux-x86_64 1.3.2 26.64 35.35 61.99 ERROR
r-release-windows-ix86+x86_64 1.3.2 62.00 102.00 164.00 OK
r-release-osx-x86_64 1.3.2 OK
r-oldrel-windows-ix86+x86_64 1.3.2 65.00 106.00 171.00 OK
r-oldrel-osx-x86_64 1.3.2 OK

Check Details

Version: 1.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > # Copyright (c) 2015-present, Facebook, Inc.
     > # All rights reserved.
     > #
     > # This source code is licensed under the BSD-style license found in the
     > # LICENSE file in the root directory of this source tree. An additional grant
     > # of patent rights can be found in the PATENTS file in the same directory.
     >
     > library("testthat")
     > library("DBI")
     > library("RPresto")
     >
     > test_check("RPresto")
     -- 1. Failure: as() works (@test-translate_sql.R#22) --------------------------
     translate_sql(as(x, 0), con = s[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS DOUBLE)").
     1/1 mismatches
     x[1]: "AS(\"x\", 0.0)"
     y[1]: "CAST(\"x\" AS DOUBLE)"
    
     -- 2. Failure: as() works (@test-translate_sql.R#26) --------------------------
     translate_sql(pmax(x), con = s[["con"]]) not equal to dplyr::sql("GREATEST(\"x\")").
     1/1 mismatches
     x[1]: "MAX(\"x\")"
     y[1]: "GREATEST(\"x\")"
    
     -- 3. Failure: as() works (@test-translate_sql.R#30) --------------------------
     translate_sql_(...) not equal to dplyr::sql("CAST(\"x\" AS ARRAY<VARCHAR>)").
     1/1 mismatches
     x[1]: "AS(\"x\", ())"
     y[1]: "CAST(\"x\" AS ARRAY<VARCHAR>)"
    
     -- 4. Failure: as() works (@test-translate_sql.R#39) --------------------------
     translate_sql_(list(substituted.expression), con = s[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS DATE)").
     1/1 mismatches
     x[1]: "AS(\"x\", '2018-11-23')"
     y[1]: "CAST(\"x\" AS DATE)"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 276 SKIPPED: 28 FAILED: 4
     1. Failure: as() works (@test-translate_sql.R#22)
     2. Failure: as() works (@test-translate_sql.R#26)
     3. Failure: as() works (@test-translate_sql.R#30)
     4. Failure: as() works (@test-translate_sql.R#39)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > # Copyright (c) 2015-present, Facebook, Inc.
     > # All rights reserved.
     > #
     > # This source code is licensed under the BSD-style license found in the
     > # LICENSE file in the root directory of this source tree. An additional grant
     > # of patent rights can be found in the PATENTS file in the same directory.
     >
     > library("testthat")
     > library("DBI")
     > library("RPresto")
     >
     > test_check("RPresto")
     -- 1. Failure: as() works (@test-translate_sql.R#22) --------------------------
     translate_sql(as(x, 0), con = s[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS DOUBLE)").
     1/1 mismatches
     x[1]: "AS(\"x\", 0.0)"
     y[1]: "CAST(\"x\" AS DOUBLE)"
    
     -- 2. Failure: as() works (@test-translate_sql.R#26) --------------------------
     translate_sql(pmax(x), con = s[["con"]]) not equal to dplyr::sql("GREATEST(\"x\")").
     1/1 mismatches
     x[1]: "MAX(\"x\")"
     y[1]: "GREATEST(\"x\")"
    
     -- 3. Failure: as() works (@test-translate_sql.R#30) --------------------------
     translate_sql_(...) not equal to dplyr::sql("CAST(\"x\" AS ARRAY<VARCHAR>)").
     1/1 mismatches
     x[1]: "AS(\"x\", ())"
     y[1]: "CAST(\"x\" AS ARRAY<VARCHAR>)"
    
     -- 4. Failure: as() works (@test-translate_sql.R#39) --------------------------
     translate_sql_(list(substituted.expression), con = s[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS DATE)").
     1/1 mismatches
     x[1]: "AS(\"x\", '2018-11-22')"
     y[1]: "CAST(\"x\" AS DATE)"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 276 SKIPPED: 28 FAILED: 4
     1. Failure: as() works (@test-translate_sql.R#22)
     2. Failure: as() works (@test-translate_sql.R#26)
     3. Failure: as() works (@test-translate_sql.R#30)
     4. Failure: as() works (@test-translate_sql.R#39)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64