Running 'testthat.R' [89s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > testthat::context("hct")
  > Sys.setenv("R_TESTS" = "")
  > library(HCT)
  Loading required package: rstan
  Loading required package: StanHeaders
  Loading required package: ggplot2
  rstan (Version 2.21.2, 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)
  Do not specify '-march=native' in 'LOCAL_CPPFLAGS' or a Makevars file
  
  Attaching package: 'HCT'
  
  The following object is masked from 'package:base':
  
      summary
  
  > als=data.frame(
  +   estimate=c(-1.13, -1.01, -0.96, -1, -1.04, -1, -0.83, -1.04, -0.99, -1.05,
  +                           -1.14, -1.08, -0.92, -1.16, -0.93, -0.99),
  +                SE=c(0.05, 0.04, 0.16, 0.12, 0.05, 0.11, 0.02, 0.03, 0.03, 0.06,
  +                     0.06, 0.03, 0.05, 0.04, 0.06, 0.05),
  +                N=c(350, 730, 83, 83, 287, 90, 1193, 859, 583, 227, 279, 510, 185,
  +                    468, 127, 206))
  > ts=hct(als,'estimate','SE','N',rseed=322)
  DIAGNOSTIC(S) FROM PARSER:
  Info: Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  
  Error in compileCode(f, code, language = language, verbose = verbose) : 
    Compilation ERROR, function(s)/method(s) not created! In file included from D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5:0,
                   from D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math/prim/mat.hpp:278,
                   from D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file5afc322407b.cpp:14:
  D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp: In function 'stan::return_type_t<T1, T2> stan::math::dirichlet_lpmf(const T_prob&, const T_prior_size&)':
  D:/temp/RtmpaKUQcn/RLIBS_e5a045c81fb5/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:74: warning: typedef 'usi
  Calls: hct ... <Anonymous> -> <Anonymous> -> force -> cxxfunction -> compileCode
  Error in sink(type = "output") : invalid connection
  Calls: hct ... <Anonymous> -> stan_model -> cxxfunctionplus -> sink
  Execution halted