Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘mvgam-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: forecast.mvgam > ### Title: Extract or compute hindcasts and forecasts for a fitted 'mvgam' > ### object > ### Aliases: forecast.mvgam > > ### ** Examples > > ## No test: > # Simulate data with 3 series and AR trend model > simdat <- sim_mvgam(n_series = 3, trend_model = AR()) > > # Fit mvgam model > mod <- mvgam( + y ~ s(season, bs = 'cc', k = 6), + trend_model = AR(), + noncentred = TRUE, + data = simdat$data_train, + chains = 2, + silent = 2 + ) specified C++17 make cmd is make -f '/home/hornik/tmp/R/etc/Makeconf' -f '/home/hornik/tmp/R/share/make/shlib.mk' -f '/home/hornik/.R/Makevars-gcc' CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB='file3b1f0c50f7b0e.so' OBJECTS='file3b1f0c50f7b0e.o' make would use g++-15 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I"/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/" -I"/home/hornik/tmp/scratch/Rtmp1HUsDa/RLIBS_3b186749c2ef5c/RcppEigen/include/" -I"/home/hornik/tmp/scratch/Rtmp1HUsDa/RLIBS_3b186749c2ef5c/RcppEigen/include/unsupported" -I"/home/hornik/tmp/scratch/Rtmp1HUsDa/RLIBS_3b186749c2ef5c/BH/include" -I"/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/StanHeaders/include/src/" -I"/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/StanHeaders/include/" -I"/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppParallel/include/" -I"/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/rstan/include" -DEIGEN_NO_DEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_HAS_AUTO_PTR_ETC=0 -include '/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/StanHeaders/include/stan/math/prim/fun/Eigen.hpp' -D_REENTRANT -DRCPP_PARALLEL_USE_TBB=1 -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c file3b1f0c50f7b0e.cpp -o file3b1f0c50f7b0e.o if test "zfile3b1f0c50f7b0e.o" != "z"; then \ echo g++-15 -std=gnu++17 -shared -L"/home/hornik/tmp/R/lib" -Wl,-O1 -o file3b1f0c50f7b0e.so file3b1f0c50f7b0e.o '/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/rstan/lib//libStanServices.a' -L'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/StanHeaders/lib/' -lStanHeaders -L'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppParallel/lib/' -ltbb -L"/home/hornik/tmp/R/lib" -lR; \ g++-15 -std=gnu++17 -shared -L"/home/hornik/tmp/R/lib" -Wl,-O1 -o file3b1f0c50f7b0e.so file3b1f0c50f7b0e.o '/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/rstan/lib//libStanServices.a' -L'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/StanHeaders/lib/' -lStanHeaders -L'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppParallel/lib/' -ltbb -L"/home/hornik/tmp/R/lib" -lR; \ fi Error in sink(type = "output") : invalid connection