Running ‘tinytest.R’ [1s/484s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly=TRUE) &&
  +     utils::packageVersion("tinytest") >= "1.0.0") {
  + 
  +     ## Set a seed to make the test deterministic
  +     set.seed(42)
  + 
  +     ## R makes us to this
  +     Sys.setenv("R_TESTS"="")
  + 
  +     ## Force tests to be executed if in dev release which we define as
  +     ## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not
  +     if (length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3) {	# dev rel, and
  +         if (Sys.getenv("RunAllRcppTests") != "no") { 			# if env.var not yet set
  +             message("Setting \"RunAllRcppTests\"=\"yes\" for development release\n")
  +             Sys.setenv("RunAllRcppTests"="yes")
  +         }
  +         #if (Sys.getenv("RunVerboseRcppTests") != "no") { 		# if env.var not yet set
  +         #    message("Setting \"RunVerboseRcppTests\"=\"yes\" for development release\n")
  +         #    Sys.setenv("RunVerboseRcppTests"="yes")
  +         #}
  +     }
  + 
  +     ## On Travis also always set tests; see
  +     ## https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
  +     if ((Sys.getenv("CI") == "true")     ||
  +         (Sys.getenv("TRAVIS") == "true") ||
  +         (Sys.getenv("CONTINUOUS_INTEGRATION") == "true")) {
  +         if (Sys.getenv("RunAllRcppTests") != "no") { 			# if env.var not yet set
  +             message("Always enabling \"RunAllRcppTests\"=\"yes\" on Travis\n")
  +             Sys.setenv("RunAllRcppTests"="yes")
  +         }
  +         if (Sys.getenv("RunVerboseRcppTests") != "no") { 		# if env.var not yet set
  +             message("Always enabling \"RunVerboseRcppTests\"=\"yes\" on Travis\n")
  +             Sys.setenv("RunVerboseRcppTests"="yes")
  +         }
  +     }
  + 
  +     ## there are several more granular ways to test files in a tinytest directory,
  +     ## see its package vignette; tests can also run once the package is installed
  +     ## using the same command `test_package(pkgName)`, or by director or file
  +     tinytest::test_package("Rcpp", ncpu=getOption("Ncpus", 1))
  + }
  Setting "RunAllRcppTests"="yes" for development release
  
  starting worker pid=3354 on localhost:11217 at 18:00:21.984
  
  Running test_algorithm.R..............   34 tests [0;32mOK[0m 
  
  Running test_as.R.....................   36 tests [0;32mOK[0m 
  
  Running test_attributes.R.............    6 tests [0;32mOK[0m 
  
  Exited 'test_binary_package.R' at line 28. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_binary_package.R.........    0 tests    
  
  Exited 'test_client_package.R' at line 25. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_client_package.R.........    0 tests    
  
  Running test_dataframe.R..............   15 tests [0;32mOK[0m 
  
  Running test_date.R...................   55 tests [0;32mOK[0m 
  
  Running test_dispatch.R...............   13 tests [0;32mOK[0m 
  
  Running test_embedded_r.R.............    2 tests [0;32mOK[0m 
  
  Running test_environments.R...........   82 tests [0;32mOK[0m 
  
  Running test_exceptions.R.............   29 tests [0;31m6 fails[0m 
  
  Running test_exceptions_nocall.R......    4 tests [0;32mOK[0m 
  
  Exited 'test_expose_class.R' at line 23. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_expose_class.R...........    0 tests    
  
  Running test_function.R...............   22 tests [0;32mOK[0m 
  
  Exited 'test_interface.R' at line 23. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_interface.R..............    0 tests    
  
  Running test_internal_function.R......    2 tests [0;32mOK[0m 
  
  Running test_internal_function_cpp11.R    2 tests [0;32mOK[0m 
  
  Running test_language.R...............   45 tests [0;32mOK[0m 
  
  Running test_listof.R.................   16 tests [0;32mOK[0m 
  
  Running test_matrix.R.................   80 tests [0;32mOK[0m 
  
  Running test_misc.R...................   50 tests [0;32mOK[0m 
  
  Running test_modref.R.................    4 tests [0;32mOK[0m 
  
  Running test_module.R.................   28 tests [0;32mOK[0m 
  
  Exited 'test_module_client_package.R' at line 37. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_module_client_package.R..    0 tests    
  
  Running test_na.R.....................    7 tests [0;32mOK[0m 
  
  Running test_packageversion.R.........    4 tests [0;32mOK[0m 
  
  Running test_quickanddirty.R..........    5 tests [0;32mOK[0m 
  
  Exited 'test_rcpp_package_skeleton.R' at line 23. Set 'RunVerboseRcppTests' and 'RunAllRcppTests' to 'yes' to run.
  Running test_rcpp_package_skeleton.R..    0 tests    
  
  Running test_reference.R..............    1 tests [0;32mOK[0m 
  
  Running test_rmath.R..................  102 tests [0;32mOK[0m 
  
  Running test_robject.R................   90 tests [0;32mOK[0m 
  
  Running test_s4.R.....................   20 tests [0;32mOK[0m 
  
  Running test_stack.R..................   30 tests [0;32mOK[0m 
  
  Running test_stats.R..................   36 tests [0;32mOK[0m 
  
  Running test_string.R.................   15 tests [0;32mOK[0m 
  
  Running test_subset.R.................   19 tests [0;32mOK[0m 
  
  Running test_sugar.R..................  447 tests [0;32mOK[0m 
  
  Running test_sugar_var.R..............    5 tests [0;32mOK[0m 
  
  Running test_support.R................    5 tests [0;32mOK[0m 
  
  Running test_system.R.................    7 tests [0;32mOK[0m 
  
  Running test_table.R..................    4 tests [0;32mOK[0m 
  
  Running test_vector.R.................  137 tests [0;32mOK[0m 
  
  Running test_vector_old.R.............    2 tests [0;32mOK[0m 
  
  Running test_wrap.R...................   41 tests [0;32mOK[0m 
  
  Running test_wstring.R................    4 tests [0;32mOK[0m 
  
  Running test_xptr.R...................    6 tests [0;32mOK[0m 
  Error: ----- FAILED[data]: test_exceptions.R<55--55>
   call| expect_true(!is.null(condition$cppstack))
   diff| Expected TRUE, got FALSE
  ----- FAILED[data]: test_exceptions.R<57--57>
   call| expect_identical(class(condition$cppstack), "Rcpp_stack_trace")
   diff| Expected 'Rcpp_stack_trace', got 'NULL'
  ----- FAILED[data]: test_exceptions.R<72--72>
   call| expect_true(!is.null(condition$cppstack))
   diff| Expected TRUE, got FALSE
  ----- FAILED[data]: test_exceptions.R<74--74>
   call| expect_identical(class(condition$cppstack), "Rcpp_stack_trace")
   diff| Expected 'Rcpp_stack_trace', got 'NULL'
  ----- FAILED[data]: test_exceptions.R<90--90>
   call| expect_true(!is.null(condition$cppstack))
   diff| Expected TRUE, got FALSE
  ----- FAILED[data]: test_exceptions.R<91--91>
   call| expect_identical(class(condition$cppstack), "Rcpp_stack_trace")
   diff| Expected 'Rcpp_stack_trace', got 'NULL' 
  Execution halted