Running 'testthat.R' [73s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Copyright (c) Facebook, Inc. and its affiliates.
  > 
  > # This source code is licensed under the MIT license found in the
  > # LICENSE file in the root directory of this source tree.
  > 
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(prophet)
  Loading required package: Rcpp
  Loading required package: rlang
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > 
  > test_check("prophet")
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630593f40cb.o] Error 127
  -- 1. Error: cross_validation (@test_diagnostics.R#18)  ------------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(DATA)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 2. Error: cross_validation (@test_diagnostics.R#18)  ------------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(DATA)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630369773ed.o] Error 127
  -- 3. Error: cross_validation_logistic (@test_diagnostics.R#50)  ---------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(df, growth = "logistic")
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 4. Error: cross_validation_logistic (@test_diagnostics.R#50)  ---------------
  invalid connection
  Backtrace:
   1. prophet::prophet(df, growth = "logistic")
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186301e7e3a9f.o] Error 127
  -- 5. Error: cross_validation_extra_regressors (@test_diagnostics.R#70)  -------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 6. Error: cross_validation_extra_regressors (@test_diagnostics.R#70)  -------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863065c7869.o] Error 127
  -- 7. Error: cross_validation_default_value_check (@test_diagnostics.R#85)  ----
  cannot open the connection
  Backtrace:
    1. prophet::prophet(DATA)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 8. Error: cross_validation_default_value_check (@test_diagnostics.R#85)  ----
  invalid connection
  Backtrace:
   1. prophet::prophet(DATA)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630479944d3.o] Error 127
  -- 9. Error: cross_validation_uncertainty_disabled (@test_diagnostics.R#97)  ---
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m = m, df = DATA, algorithm = "Newton")
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 10. Error: cross_validation_uncertainty_disabled (@test_diagnostics.R#97)  --
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m = m, df = DATA, algorithm = "Newton")
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186301f9d6b66.o] Error 127
  -- 11. Error: performance_metrics (@test_diagnostics.R#109)  -------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(DATA)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 12. Error: performance_metrics (@test_diagnostics.R#109)  -------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(DATA)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186302fd16ba9.o] Error 127
  -- 13. Error: copy (@test_diagnostics.R#241)  ----------------------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m1, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 14. Error: copy (@test_diagnostics.R#241)  ----------------------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m1, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186307d9b7925.o] Error 127
  -- 15. Error: fit_predict (@test_prophet.R#21)  --------------------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 16. Error: fit_predict (@test_prophet.R#21)  --------------------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(train)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863072647b60.o] Error 127
  -- 17. Error: fit_predict_no_seasons (@test_prophet.R#27)  ---------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train, weekly.seasonality = FALSE, yearly.seasonality = FALSE)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 18. Error: fit_predict_no_seasons (@test_prophet.R#27)  ---------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(train, weekly.seasonality = FALSE, yearly.seasonality = FALSE)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186305b95de4.o] Error 127
  -- 19. Error: fit_predict_no_changepoints (@test_prophet.R#33)  ----------------
  cannot open the connection
  Backtrace:
    1. testthat::expect_warning(...)
    6. prophet::prophet(train, n.changepoints = 0)
    7. prophet::fit.prophet(m, df, ...)
    8. prophet:::compile_stan_model()
    9. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   10. rstan:::cxxfunctionplus(...)
   12. inline::cxxfunction(...)
   13. inline:::compileCode(f, code, language = language, verbose = verbose)
   14. base::readLines(errfile)
   15. base::file(con, "r")
  
  -- 20. Error: fit_predict_no_changepoints (@test_prophet.R#33)  ----------------
  invalid connection
  Backtrace:
    1. testthat::expect_warning(...)
    6. prophet::prophet(train, n.changepoints = 0)
    7. prophet::fit.prophet(m, df, ...)
    8. prophet:::compile_stan_model()
    9. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   10. rstan:::cxxfunctionplus(...)
   11. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186306a9439.o] Error 127
  -- 21. Error: fit_predict_changepoint_not_in_history (@test_prophet.R#52)  -----
  cannot open the connection
  Backtrace:
    1. testthat::expect_warning(...)
    6. prophet::prophet(train_t, changepoints = c("2013-06-06"))
    7. prophet::fit.prophet(m, df, ...)
    8. prophet:::compile_stan_model()
    9. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   10. rstan:::cxxfunctionplus(...)
   12. inline::cxxfunction(...)
   13. inline:::compileCode(f, code, language = language, verbose = verbose)
   14. base::readLines(errfile)
   15. base::file(con, "r")
  
  -- 22. Error: fit_predict_changepoint_not_in_history (@test_prophet.R#52)  -----
  invalid connection
  Backtrace:
    1. testthat::expect_warning(...)
    6. prophet::prophet(train_t, changepoints = c("2013-06-06"))
    7. prophet::fit.prophet(m, df, ...)
    8. prophet:::compile_stan_model()
    9. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   10. rstan:::cxxfunctionplus(...)
   11. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863034cb55e5.o] Error 127
  -- 23. Error: fit_predict_duplicates (@test_prophet.R#64)  ---------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train_t)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 24. Error: fit_predict_duplicates (@test_prophet.R#64)  ---------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(train_t)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863033a04672.o] Error 127
  -- 25. Error: fit_predict_constant_history (@test_prophet.R#72)  ---------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train2)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 26. Error: fit_predict_constant_history (@test_prophet.R#72)  ---------------
  invalid connection
  Backtrace:
   1. prophet::prophet(train2)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630447d3d68.o] Error 127
  -- 27. Error: fit_predict_uncertainty_disabled (@test_prophet.R#84)  -----------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train, uncertainty.samples = uncertainty)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 28. Error: fit_predict_uncertainty_disabled (@test_prophet.R#84)  -----------
  invalid connection
  Backtrace:
   1. prophet::prophet(train, uncertainty.samples = uncertainty)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863028c95a4d.o] Error 127
  -- 29. Error: logistic_floor (@test_prophet.R#128)  ----------------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, history, algorithm = "Newton")
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 30. Error: logistic_floor (@test_prophet.R#128)  ----------------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, history, algorithm = "Newton")
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186305ec70ab.o] Error 127
  -- 31. Error: fit_with_holidays (@test_prophet.R#381)  -------------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(DATA, holidays = holidays, uncertainty.samples = 0)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 32. Error: fit_with_holidays (@test_prophet.R#381)  -------------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(DATA, holidays = holidays, uncertainty.samples = 0)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630654e809.o] Error 127
  -- 33. Error: fit_with_country_holidays (@test_prophet.R#394)  -----------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 34. Error: fit_with_country_holidays (@test_prophet.R#394)  -----------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863034575bf0.o] Error 127
  -- 35. Error: make_future_dataframe (@test_prophet.R#429)  ---------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(train.t)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 36. Error: make_future_dataframe (@test_prophet.R#429)  ---------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(train.t)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630446f5be7.o] Error 127
  -- 37. Error: auto_weekly_seasonality (@test_prophet.R#448)  -------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, train.w)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 38. Error: auto_weekly_seasonality (@test_prophet.R#448)  -------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, train.w)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186304afe2b76.o] Error 127
  -- 39. Error: auto_yearly_seasonality (@test_prophet.R#482)  -------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 40. Error: auto_yearly_seasonality (@test_prophet.R#482)  -------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file18630616c2225.o] Error 127
  -- 41. Error: auto_daily_seasonality (@test_prophet.R#511)  --------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA2)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 42. Error: auto_daily_seasonality (@test_prophet.R#511)  --------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA2)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186305214b7d.o] Error 127
  -- 43. Error: test_subdaily_holidays (@test_prophet.R#541)  --------------------
  cannot open the connection
  Backtrace:
    1. prophet::prophet(DATA2, holidays = holidays)
    2. prophet::fit.prophet(m, df, ...)
    3. prophet:::compile_stan_model()
    4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
    5. rstan:::cxxfunctionplus(...)
    7. inline::cxxfunction(...)
    8. inline:::compileCode(f, code, language = language, verbose = verbose)
    9. base::readLines(errfile)
   10. base::file(con, "r")
  
  -- 44. Error: test_subdaily_holidays (@test_prophet.R#541)  --------------------
  invalid connection
  Backtrace:
   1. prophet::prophet(DATA2, holidays = holidays)
   2. prophet::fit.prophet(m, df, ...)
   3. prophet:::compile_stan_model()
   4. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   5. rstan:::cxxfunctionplus(...)
   6. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863017856705.o] Error 127
  -- 45. Error: custom_seasonality (@test_prophet.R#579)  ------------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 46. Error: custom_seasonality (@test_prophet.R#579)  ------------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, DATA)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186305e006845.o] Error 127
  -- 47. Error: conditional_custom_seasonality (@test_prophet.R#613)  ------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 48. Error: conditional_custom_seasonality (@test_prophet.R#613)  ------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file186301fb76c6.o] Error 127
  -- 49. Error: added_regressors (@test_prophet.R#652)  --------------------------
  cannot open the connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 50. Error: added_regressors (@test_prophet.R#652)  --------------------------
  invalid connection
  Backtrace:
   1. prophet::fit.prophet(m, df)
   2. prophet:::compile_stan_model()
   3. rstan::stan_model(stanc_ret = stanc, model_name = "prophet_model")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  Error in file(fname, "rt") : cannot open the connection
  Scanning R CMD config CC...
  cc_path: c:/Rtools/mingw_64/bin/gcc 
  'c:/Rtools/mingw_64/bin/gcc' does not exist
  Scanning path...
  ls: D:\compiler\rtools40\usr\bin\ls.exe 
  gcc_path: D:\compiler\rtools40\mingw64\bin\gcc.exe 
  Scanning registry...
  Found D:/Compiler/rtools40 for 4.0 
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file1863028197d00.o] Error 127
  -- 51. Error: (unknown) (@test_stan_functions.R#9)  ----------------------------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. base::tryCatch(...)
   2. base:::tryCatchList(expr, classes, parentenv, handlers)
   3. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4. value[[3L]](cond)
   5. rstan::expose_stan_functions(...)
  
  == testthat results  ===========================================================
  [ OK: 187 | SKIPPED: 0 | WARNINGS: 47 | FAILED: 51 ]
  1. Error: cross_validation (@test_diagnostics.R#18) 
  2. Error: cross_validation (@test_diagnostics.R#18) 
  3. Error: cross_validation_logistic (@test_diagnostics.R#50) 
  4. Error: cross_validation_logistic (@test_diagnostics.R#50) 
  5. Error: cross_validation_extra_regressors (@test_diagnostics.R#70) 
  6. Error: cross_validation_extra_regressors (@test_diagnostics.R#70) 
  7. Error: cross_validation_default_value_check (@test_diagnostics.R#85) 
  8. Error: cross_validation_default_value_check (@test_diagnostics.R#85) 
  9. Error: cross_validation_uncertainty_disabled (@test_diagnostics.R#97) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted