* using log directory 'd:/Rcompile/CRANpkg/local/3.4/dplyr.teradata.Rcheck'
* using R version 3.4.4 (2018-03-15)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'dplyr.teradata/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'dplyr.teradata' version '0.3.1'
* package encoding: UTF-8
* 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 whether package 'dplyr.teradata' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* 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 ... [6s] OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* 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 ... [2s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [3s] ERROR
  Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dplyr.teradata)
  Loading required package: 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
  
  Loading required package: dbplyr
  
  Attaching package: 'dbplyr'
  
  The following objects are masked from 'package:dplyr':
  
      ident, sql
  
  > 
  > test_check("dplyr.teradata")
  -- 1. Error: custom scalar translated correctly (@test-translate-teradata.R#9)  
  no applicable method for 'sql_translate_env' applied to an object of class "NULL"
  1: expect_equal(trans(case_when(x == 1L ~ 1L, x == 2L ~ 2L, TRUE ~ 3L)), sql("CASE WHEN \"x\" = 1 THEN 1 WHEN \"x\" = 2 THEN 2 ELSE 3 END")) at testthat/test-translate-teradata.R:9
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: trans(case_when(x == 1L ~ 1L, x == 2L ~ 2L, TRUE ~ 3L))
  5: translate_sql(!(!enquo(x)), con = simulate_teradata()) at testthat/test-translate-teradata.R:6
  6: translate_sql_(quos(...), con = con, vars_group = vars_group, vars_order = vars_order, 
         vars_frame = vars_frame, window = window)
  7: lapply(dots, function(x) {
         if (is_null(get_expr(x))) {
             NULL
         }
         else if (is_atomic(get_expr(x))) {
             escape(get_expr(x), con = con)
         }
         else {
             overscope <- sql_overscope(x, variant, con = con, window = window)
             on.exit(overscope_clean(overscope))
             escape(overscope_eval_next(overscope, x), con = con)
         }
     })
  8: FUN(X[[i]], ...)
  9: escape(overscope_eval_next(overscope, x), con = con)
  10: overscope_eval_next(overscope, x)
  11: case_when(x == 1L ~ 1L, x == 2L ~ 2L, TRUE ~ 3L)
  12: translate_sql_(list(f[[2]]))
  13: sql_translate_env(con)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 WARNINGS: 0 FAILED: 1
  1. Error: custom scalar translated correctly (@test-translate-teradata.R#9) 
  
  Error: testthat unit tests failed
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking re-building of vignette outputs ... [5s] OK
* checking PDF version of manual ... OK
* DONE
Status: 1 ERROR