CRAN Package Check Results for Package RPresto

Last updated on 2018-07-17 01:47:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 24.66 34.60 59.26 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.0 18.38 30.57 48.95 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.0 79.51 OK
r-devel-linux-x86_64-fedora-gcc 1.3.0 76.46 OK
r-devel-windows-ix86+x86_64 1.3.0 67.00 87.00 154.00 OK
r-patched-linux-x86_64 1.3.0 21.29 34.40 55.69 ERROR
r-patched-solaris-x86 1.3.0 84.40 OK
r-release-linux-x86_64 1.3.0 23.52 34.39 57.91 ERROR
r-release-windows-ix86+x86_64 1.3.0 59.00 108.00 167.00 OK
r-release-osx-x86_64 1.3.0 OK
r-oldrel-windows-ix86+x86_64 1.3.0 42.00 102.00 144.00 OK
r-oldrel-osx-x86_64 1.3.0 OK

Check Details

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/11s]
    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-src_translate_env.R#52) ----------------------
     translate_sql(as(x, 0), con = conn[["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-src_translate_env.R#56) ----------------------
     translate_sql(pmax(x), con = conn[["con"]]) not equal to dplyr::sql("GREATEST(\"x\")").
     1/1 mismatches
     x[1]: "MAX(\"x\")"
     y[1]: "GREATEST(\"x\")"
    
     -- 3. Failure: as() works (@test-src_translate_env.R#60) ----------------------
     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-src_translate_env.R#69) ----------------------
     translate_sql_(list(substituted.expression), con = conn[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS \"DATE\")").
     1/1 mismatches
     x[1]: "AS(\"x\", '2018-07-15')"
     y[1]: "CAST(\"x\" AS \"DATE\")"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 223 SKIPPED: 28 FAILED: 4
     1. Failure: as() works (@test-src_translate_env.R#52)
     2. Failure: as() works (@test-src_translate_env.R#56)
     3. Failure: as() works (@test-src_translate_env.R#60)
     4. Failure: as() works (@test-src_translate_env.R#69)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/13s]
    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-src_translate_env.R#52) ----------------------
     translate_sql(as(x, 0), con = conn[["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-src_translate_env.R#56) ----------------------
     translate_sql(pmax(x), con = conn[["con"]]) not equal to dplyr::sql("GREATEST(\"x\")").
     1/1 mismatches
     x[1]: "MAX(\"x\")"
     y[1]: "GREATEST(\"x\")"
    
     -- 3. Failure: as() works (@test-src_translate_env.R#60) ----------------------
     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-src_translate_env.R#69) ----------------------
     translate_sql_(list(substituted.expression), con = conn[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS \"DATE\")").
     1/1 mismatches
     x[1]: "AS(\"x\", '2018-07-16')"
     y[1]: "CAST(\"x\" AS \"DATE\")"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 223 SKIPPED: 28 FAILED: 4
     1. Failure: as() works (@test-src_translate_env.R#52)
     2. Failure: as() works (@test-src_translate_env.R#56)
     3. Failure: as() works (@test-src_translate_env.R#60)
     4. Failure: as() works (@test-src_translate_env.R#69)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/14s]
    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-src_translate_env.R#52) ----------------------
     translate_sql(as(x, 0), con = conn[["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-src_translate_env.R#56) ----------------------
     translate_sql(pmax(x), con = conn[["con"]]) not equal to dplyr::sql("GREATEST(\"x\")").
     1/1 mismatches
     x[1]: "MAX(\"x\")"
     y[1]: "GREATEST(\"x\")"
    
     -- 3. Failure: as() works (@test-src_translate_env.R#60) ----------------------
     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-src_translate_env.R#69) ----------------------
     translate_sql_(list(substituted.expression), con = conn[["con"]]) not equal to dplyr::sql("CAST(\"x\" AS \"DATE\")").
     1/1 mismatches
     x[1]: "AS(\"x\", '2018-07-16')"
     y[1]: "CAST(\"x\" AS \"DATE\")"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 223 SKIPPED: 28 FAILED: 4
     1. Failure: as() works (@test-src_translate_env.R#52)
     2. Failure: as() works (@test-src_translate_env.R#56)
     3. Failure: as() works (@test-src_translate_env.R#60)
     4. Failure: as() works (@test-src_translate_env.R#69)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64