Running 'testthat.R' [167s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dgo)
  Loading required package: dgodata
  Loading required package: rstan
  Loading required package: ggplot2
  Loading required package: StanHeaders
  rstan (Version 2.17.3, GitRev: 2e1f913d3ca3)
  For execution on a local, multicore CPU with excess RAM we recommend calling
  options(mc.cores = parallel::detectCores()).
  To avoid recompilation of unchanged Stan programs, we recommend calling
  rstan_options(auto_write = TRUE)
  > 
  > # https://stackoverflow.com/questions/12410694/rbundler-build-error-cannot-open-file-startup-rs-no-such-file-or-directory#27994299
  > Sys.setenv("R_TESTS" = "")
  > test_check("dgo")
  In file included from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/BH/include/boost/config.hpp:39:0,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/BH/include/boost/math/tools/config.hpp:13,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/core.hpp:12,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file10ca02b5eb3e.cpp:8:
  D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/BH/include/boost/config/compiler/gcc.hpp:186:0: warning: "BOOST_NO_CXX11_RVALUE_REFERENCES" redefined
   #  define BOOST_NO_CXX11_RVALUE_REFERENCES
   ^
  <command-line>:0:0: note: this is the location of the previous definition
  In file included from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/core.hpp:44:0,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file10ca02b5eb3e.cpp:8:
  D:/temp/RtmpkNW5xN/RLIBS_25ac430da2190/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:17: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function]
       static void set_zero_all_adjoints() {
                   ^
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  
  SAMPLING FOR MODEL '2017_01_04' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  -- 1. Error: argument validation works (@test-plot.r#33)  ----------------------
  `x` must be a string or a R connection
  1: expect_silent(dgirt_plot(estimates, group_names = c("race3", "state"), time_name = "year", 
         geo_name = "state")) at testthat/test-plot.r:33
  2: quasi_capture(enquo(object), evaluate_promise)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  5: force(code)
  6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  7: withVisible(code)
  8: eval_bare(get_expr(quo), get_env(quo))
  9: dgirt_plot(estimates, group_names = c("race3", "state"), time_name = "year", geo_name = "state")
  10: dgirt_plot(estimates, group_names = c("race3", "state"), time_name = "year", geo_name = "state")
  11: .local(x, ...)
  12: plot_internal(x, group_names, time_name, geo_name, y_fun, y_min, y_max)
  13: ggplot2::ggplot(data = samples, ggplot2::aes_string(x = time_name, y = y_fun, color = group_names))
  14: ggplot.default(data = samples, ggplot2::aes_string(x = time_name, y = y_fun, color = group_names))
  15: inherits(mapping, "uneval")
  16: ggplot2::aes_string(x = time_name, y = y_fun, color = group_names)
  17: lapply(mapping, function(x) {
         if (is.character(x)) {
             x <- rlang::parse_expr(x)
         }
         new_aesthetic(x, env = caller_env)
     })
  18: FUN(X[[i]], ...)
  19: rlang::parse_expr(x)
  20: parse_exprs(x)
  21: abort("`x` must be a string or a R connection")
  
  == testthat results  ===========================================================
  OK: 375 SKIPPED: 1 FAILED: 1
  1. Error: argument validation works (@test-plot.r#33) 
  
  Error: testthat unit tests failed
  Execution halted