R Under development (unstable) (2025-05-04 r88189 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(MUGS) > > test_check("MUGS") [1] "code:S_1" "code:S_2" "code:S_3" "code:S_4" "code:S_5" [6] "code:S_6" "code:S_7" "code:S_8" "code:S_9" "code:S_10" [11] "code:S_11" "code:S_12" "code:S_13" "code:S_14" "code:S_15" [16] "code:S_16" "code:S_17" "code:S_18" "code:S_19" "code:S_20" [21] "code:S_21" "code:S_22" "code:S_23" "code:S_24" "code:S_25" [26] "code:S_26" "code:S_27" "code:S_28" "code:S_29" "code:S_30" [31] "code:S_31" "code:S_32" "code:S_33" "code:S_34" "code:S_35" [36] "code:S_36" "code:S_37" "code:S_38" "code:S_39" "code:S_40" [41] "code:S_41" "code:S_42" "code:S_43" "code:S_44" "code:S_45" [46] "code:S_46" "code:S_47" "code:S_48" "code:S_49" "code:S_50" [51] "code:S_51" "code:S_52" "code:S_53" "code:S_54" "code:S_55" [56] "code:S_56" "code:S_57" "code:S_58" "code:S_59" "code:S_60" [61] "code:S_61" "code:S_62" "code:S_63" "code:S_64" "code:S_65" [66] "code:S_66" "code:S_67" "code:S_68" "code:S_69" "code:S_70" [71] "code:S_71" "code:S_72" "code:S_73" "code:S_74" "code:S_75" [76] "code:S_76" "code:S_77" "code:S_78" "code:S_79" "code:S_80" [81] "code:S_81" "code:S_82" "code:S_83" "code:S_84" "code:S_85" [86] "code:S_86" "code:S_87" "code:S_88" "code:S_89" "code:S_90" [91] "code:S_91" "code:S_92" "code:S_93" "code:S_94" "code:S_95" [96] "code:S_96" "code:S_97" "code:S_98" "code:S_99" "code:S_100" [1] "code:S_1" "code:S_2" "code:S_3" "code:S_4" "code:S_5" [6] "code:S_6" "code:S_7" "code:S_8" "code:S_9" "code:S_10" [11] "code:S_11" "code:S_12" "code:S_13" "code:S_14" "code:S_15" [16] "code:S_16" "code:S_17" "code:S_18" "code:S_19" "code:S_20" [21] "code:S_21" "code:S_22" "code:S_23" "code:S_24" "code:S_25" [26] "code:S_26" "code:S_27" "code:S_28" "code:S_29" "code:S_30" [31] "code:S_31" "code:S_32" "code:S_33" "code:S_34" "code:S_35" [36] "code:S_36" "code:S_37" "code:S_38" "code:S_39" "code:S_40" [41] "code:S_41" "code:S_42" "code:S_43" "code:S_44" "code:S_45" [46] "code:S_46" "code:S_47" "code:S_48" "code:S_49" "code:S_50" [51] "code:S_51" "code:S_52" "code:S_53" "code:S_54" "code:S_55" [56] "code:S_56" "code:S_57" "code:S_58" "code:S_59" "code:S_60" [61] "code:S_61" "code:S_62" "code:S_63" "code:S_64" "code:S_65" [66] "code:S_66" "code:S_67" "code:S_68" "code:S_69" "code:S_70" [71] "code:S_71" "code:S_72" "code:S_73" "code:S_74" "code:S_75" [76] "code:S_76" "code:S_77" "code:S_78" "code:S_79" "code:S_80" [81] "code:S_81" "code:S_82" "code:S_83" "code:S_84" "code:S_85" [86] "code:S_86" "code:S_87" "code:S_88" "code:S_89" "code:S_90" [91] "code:S_91" "code:S_92" "code:S_93" "code:S_94" "code:S_95" [96] "code:S_96" "code:S_97" "code:S_98" "code:S_99" "code:S_100" [1] "code:T_1" "code:T_2" "code:T_3" "code:T_4" "code:T_5" "code:T_6" [7] "code:T_7" "code:T_8" "code:T_9" "code:T_10" "code:T_11" "code:T_12" [13] "code:T_13" "code:T_14" "code:T_15" "code:T_16" "code:T_17" "code:T_18" [19] "code:T_19" "code:T_20" "code:T_21" "code:T_22" "code:T_23" "code:T_24" [25] "code:T_25" "code:T_26" "code:T_27" "code:T_28" "code:T_29" "code:T_30" [31] "code:T_31" "code:T_32" "code:T_33" "code:T_34" "code:T_35" "code:T_36" [37] "code:T_37" "code:T_38" "code:T_39" "code:T_40" "code:T_41" "code:T_42" [43] "code:T_43" "code:T_44" "code:T_45" "code:T_46" "code:T_47" "code:T_48" [49] "code:T_49" "code:T_50" "code:T_51" "code:T_52" "code:T_53" "code:T_54" [55] "code:T_55" "code:T_56" "code:T_57" "code:T_58" "code:T_59" "code:T_60" [61] "code:T_61" "code:T_62" "code:T_63" "code:T_64" "code:T_65" "code:T_66" [67] "code:T_67" "code:T_68" "code:T_69" "code:T_70" "code:T_71" "code:T_72" [73] "code:T_73" "code:T_74" "code:T_75" "code:T_76" "code:T_77" "code:T_78" [79] "code:T_79" "code:T_80" [1] "code:T_1" "code:T_2" "code:T_3" "code:T_4" "code:T_5" "code:T_6" [7] "code:T_7" "code:T_8" "code:T_9" "code:T_10" "code:T_11" "code:T_12" [13] "code:T_13" "code:T_14" "code:T_15" "code:T_16" "code:T_17" "code:T_18" [19] "code:T_19" "code:T_20" "code:T_21" "code:T_22" "code:T_23" "code:T_24" [25] "code:T_25" "code:T_26" "code:T_27" "code:T_28" "code:T_29" "code:T_30" [31] "code:T_31" "code:T_32" "code:T_33" "code:T_34" "code:T_35" "code:T_36" [37] "code:T_37" "code:T_38" "code:T_39" "code:T_40" "code:T_41" "code:T_42" [43] "code:T_43" "code:T_44" "code:T_45" "code:T_46" "code:T_47" "code:T_48" [49] "code:T_49" "code:T_50" "code:T_51" "code:T_52" "code:T_53" "code:T_54" [55] "code:T_55" "code:T_56" "code:T_57" "code:T_58" "code:T_59" "code:T_60" [61] "code:T_61" "code:T_62" "code:T_63" "code:T_64" "code:T_65" "code:T_66" [67] "code:T_67" "code:T_68" "code:T_69" "code:T_70" "code:T_71" "code:T_72" [73] "code:T_73" "code:T_74" "code:T_75" "code:T_76" "code:T_77" "code:T_78" [79] "code:T_79" "code:T_80" [1] 180 10 [1] 180 10 [1] "code:S_1" "code:S_2" "code:S_3" "code:S_4" "code:S_5" "code:S_6" [7] "code:S_7" "code:S_8" "code:S_9" "code:S_10" [1] "code:S_1" "code:S_2" "code:S_3" "code:S_4" "code:S_5" "code:S_6" [7] "code:S_7" "code:S_8" "code:S_9" "code:S_10" [1] "code:T_1" "code:T_2" "code:T_3" "code:T_4" "code:T_5" "code:T_6" [7] "code:T_7" "code:T_8" "code:T_9" "code:T_10" [1] "code:T_1" "code:T_2" "code:T_3" "code:T_4" "code:T_5" "code:T_6" [7] "code:T_7" "code:T_8" "code:T_9" "code:T_10" [1] 20 5 [1] 20 5 Loading required package: foreach Loading required package: iterators Loading required package: snow Attaching package: 'snow' The following objects are masked from 'package:parallel': closeNode, clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, clusterMap, clusterSplit, makeCluster, parApply, parCapply, parLapply, parRapply, parSapply, recvData, recvOneData, sendData, splitIndices, stopCluster Attaching package: 'inline' The following object is masked from 'package:Rcpp': registerPlugin >> setting environment variables: PKG_LIBS = $(SHLIB_OPENMP_CFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) PKG_CPPFLAGS = -I../inst/include $(SHLIB_OPENMP_CFLAGS) >> LinkingTo : RcppArmadillo, Rcpp CLINK_CPPFLAGS = -I"D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include" -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include" >> Program source : 1 : 2 : // includes from the plugin 3 : #include 4 : #include 5 : 6 : 7 : #ifndef BEGIN_RCPP 8 : #define BEGIN_RCPP 9 : #endif 10 : 11 : #ifndef END_RCPP 12 : #define END_RCPP 13 : #endif 14 : 15 : using namespace Rcpp; 16 : 17 : // user includes 18 : 19 : 20 : // declarations 21 : extern "C" { 22 : SEXP file795c703d70af( SEXP n_, SEXP mu_, SEXP sigma_) ; 23 : } 24 : 25 : // definition 26 : SEXP file795c703d70af(SEXP n_, SEXP mu_, SEXP sigma_) { 27 : BEGIN_RCPP 28 : 29 : using namespace Rcpp; 30 : int n = as(n_); 31 : arma::vec mu = as(mu_); 32 : arma::mat sigma = as(sigma_); 33 : int ncols = sigma.n_cols; // Corrected syntax 34 : arma::mat Y = arma::randn(n, ncols); 35 : return wrap(arma::repmat(mu, 1, n).t() + Y * arma::chol(sigma)); 36 : 37 : END_RCPP 38 : } make cmd is make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="file795c703d70af.dll" WIN=64 TCLBIN= OBJECTS="file795c703d70af.o" make would use make[1]: Entering directory '/d/temp/2025_05_07_23_45_17_10631/RtmpoFhCnW' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include -fopenmp -I"D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include" -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include" -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c file795c703d70af.cpp -o file795c703d70af.o if test "zfile795c703d70af.o" != "z"; then \ if test -e "file795c703d70af-win.def"; then \ echo g++ -std=gnu++17 -shared -s -static-libgcc -o file795c703d70af.dll file795c703d70af-win.def file795c703d70af.o -fopenmp -L"D:/RCompile/recent/R/bin/x64" -lRlapack -L"D:/RCompile/recent/R/bin/x64" -lRblas -lgfortran -lquadmath -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -std=gnu++17 -shared -s -static-libgcc -o file795c703d70af.dll file795c703d70af-win.def file795c703d70af.o -fopenmp -L"D:/RCompile/recent/R/bin/x64" -lRlapack -L"D:/RCompile/recent/R/bin/x64" -lRblas -lgfortran -lquadmath -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ nm file795c703d70af.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo g++ -std=gnu++17 -shared -s -static-libgcc -o file795c703d70af.dll tmp.def file795c703d70af.o -fopenmp -L"D:/RCompile/recent/R/bin/x64" -lRlapack -L"D:/RCompile/recent/R/bin/x64" -lRblas -lgfortran -lquadmath -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ g++ -std=gnu++17 -shared -s -static-libgcc -o file795c703d70af.dll tmp.def file795c703d70af.o -fopenmp -L"D:/RCompile/recent/R/bin/x64" -lRlapack -L"D:/RCompile/recent/R/bin/x64" -lRblas -lgfortran -lquadmath -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools45/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/2025_05_07_23_45_17_10631/RtmpoFhCnW' Loaded glmnet 4.1-8 Attaching package: 'dplyr' The following object is masked from 'package:MASS': select The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Type 'citation("pROC")' for a citation. Attaching package: 'pROC' The following objects are masked from 'package:stats': cov, smooth, var Setting levels: control = 0, case = 1 Setting direction: controls > cases Setting levels: control = 0, case = 1 Setting direction: controls > cases [ FAIL 0 | WARN 0 | SKIP 0 | PASS 68 ] > > proc.time() user system elapsed 2.54 0.53 18.40