- using R version 4.6.0 beta (2026-04-16 r89899 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-04-17 03:20:19 UTC
- checking for file 'MfUSampler/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'MfUSampler' version '1.1.0'
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'MfUSampler' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s] OK
- checking Rd files ... [0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [3s] OK
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s] ERROR
Error(s) in re-building vignettes:
--- re-building 'MfUSampler.Rnw' using Sweave
MfUSampler 1.1.0
Convenience Functions for Multivariate MCMC Using Univariate Samplers
For citations, please use:
Alireza S. Mahani, Mansour T. A. Sharabiani (2017). Multivariate-From-Univariate MCMC Sampler: The R Package MfUSampler. Journal of Statistical Software, Code Snippets, 78(1), 1-22. doi:10.18637/jss.v078.c01
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="file67c4534ae09.dll" WIN=64 TCLBIN= OBJECTS="file67c4534ae09.o"
make would use
make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpYXZ9lr'
g++ -std=gnu++20 -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 file67c4534ae09.cpp -o file67c4534ae09.o
if test "zfile67c4534ae09.o" != "z"; then \
if test -e "file67c4534ae09-win.def"; then \
echo g++ -std=gnu++20 -shared -s -static-libgcc -o file67c4534ae09.dll file67c4534ae09-win.def file67c4534ae09.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++20 -shared -s -static-libgcc -o file67c4534ae09.dll file67c4534ae09-win.def file67c4534ae09.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 file67c4534ae09.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo g++ -std=gnu++20 -shared -s -static-libgcc -o file67c4534ae09.dll tmp.def file67c4534ae09.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++20 -shared -s -static-libgcc -o file67c4534ae09.dll tmp.def file67c4534ae09.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/2026_04_17_01_50_00_1722/RtmpYXZ9lr'
Error: processing vignette 'MfUSampler.Rnw' failed with diagnostics:
chunk 31
Error in compileCode(f, code, language = language, verbose = verbose) :
using C++ compiler: 'g++.exe (GCC) 14.3.0'
In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49,
from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35,
from file67c4534ae09.cpp:3:
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl<StoragePolicy>::Function_Impl(const std::string&, const std::string&)':
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope
75 | Shield<SEXP> env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue));
| ^~~~~~~~~~~~~~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: file67c4534ae09.o] Error 1
--- failed re-building 'MfUSampler.Rnw'
SUMMARY: processing the following file failed:
'MfUSampler.Rnw'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR