Running 'testthat.R' [50s]
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: ggplot2
  Loading required package: StanHeaders
  rstan (Version 2.17.4, 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)
  
  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 (non-fatal): 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/RtmpA3bbhY/RLIBS_22c986373a0/BH/include/boost/config.hpp:39:0,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/BH/include/boost/math/tools/config.hpp:13,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/stan/math/rev/core.hpp:12,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file94ec19f21ea.cpp:8:
  D:/temp/RtmpA3bbhY/RLIBS_22c986373a0/BH/include/
  Calls: hct ... stan_model -> cxxfunctionplus -> cxxfunction -> compileCode
  In addition: Warning messages:
  1: In stan_model(file, model_name = model_name, model_code = model_code,  :
    StanHeaders version is ahead of rstan version; update to latest rstan
  2: In system(cmd, intern = !verbose) :
    running command 'D:/RCompile/recent/R/bin/x64/R CMD SHLIB file94ec19f21ea.cpp 2> file94ec19f21ea.cpp.err.txt' had status 1
  Execution halted