* installing *source* package ‘rxode2et’ ... ** package ‘rxode2et’ successfully unpacked and MD5 sums checked ** using staged installation R version 4.3.3 (2024-02-29) -- "Angel Food Cake" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20 (64-bit) 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. Natural language support but running in an English locale 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 is only for rxode2 > .in <- suppressWarnings(readLines("src/Makevars.in")) > > if (.Platform$OS.type == "windows" && !file.exists("src/Makevars.win")) { + .in <- gsub("@CXX14STD@", "-std=c++1y", .in) + file.out <- file("src/Makevars.win", "wb") + writeLines(gsub("@ISYSTEM@", "I", .in), + file.out) + close(file.out) + } else { + .in <- gsub("@CXX14STD@", "-std=gnu++14", .in) + file.out <- file("src/Makevars", "wb") + writeLines(gsub("@ISYSTEM@", "isystem", .in), + file.out) + close(file.out) + } > > if (file.exists("man/reexports.Rd")) { + l <- readLines("man/reexports.Rd") + if (!any(regexpr("[\\]value", l) != -1)) { + l <- c(l, "\\value{ Inherited from parent routine }") + file.out <- file("man/reexports.Rd", "wb") + writeLines(l, file.out) + close(file.out) + } + } > > > unlink("R/rxode2_md5.R") > > cpp <- list.files("src", pattern = ".(c|h|cpp|f)$") > #Rfiles <- list.files("R/", pattern = ".R") > > cmd <- file.path(R.home("bin"), "R") > args <- c("CMD", "config") > > md5 <- digest::digest(c(lapply(c(paste0("src/", cpp)#, + #paste0("inst/include/", include)#, + #paste0("R/", Rfiles) + ), digest::digest, file = TRUE), + ## vapply(c("BLAS_LIBS", "CC", "CFLAGS", "CPICFLAGS", + ## "CXX", "CXXFLAGS", "CXXPICFLAGS", + ## "CXX11", "CXX11STD", "CXX11FLAGS", "CXX11PICFLAGS", + ## "CXX14", "CXX14STD", "CXX14FLAGS", "CXX14PICFLAGS", + ## "CXX17", "CXX17STD", "CXX17FLAGS", "CXX17PICFLAGS", + ## "CXX20", "CXX20STD", "CXX20FLAGS", "CXX20PICFLAGS", + ## "FC", "FFLAGS", "FCFLAGS", "FPICFLAGS"), + ## function(cfg) { + ## rawToChar(sys::exec_internal(cmd, c(args, cfg))$stdout) + ## }, character(1) + ## ), + "" + )) > unlink("R/rxode2et_md5.R") > md5file <- file("R/rxode2et_md5.R", "wb") > writeLines(sprintf("rxode2et.md5 <- \"%s\"\n", md5), md5file) > close(md5file) > > l <- readLines(file.path(system.file(package="rxode2random"), "include", "rxode2random_as.h")) > l <- gsub("qtest", "_rxode2et_qtest", l) > > rxode2et_as.h <- file("src/rxode2et_as.h", "wb") > writeLines(l, rxode2et_as.h) > close(rxode2et_as.h) > > proc.time() user system elapsed 0.110 0.032 0.151 --------[begin src/Makevars]-------- # -*- mode: makefile-gmake -*- ################################################################################ ## Package library flags. PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) $(SHLIB_OPENMP_CXXFLAGS) # Release options PKG_CFLAGS = -D_isrxode2et_ PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -D_isrxode2et_ --------[end src/Makevars]-------- --------[begin R/rxode2et_md5.R]-------- rxode2et.md5 <- "f3801ebf6c12354dcbe005e51737da8c" --------[begin R/rxode2et_md5.R]-------- ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c cbindThetaOmega.cpp -o cbindThetaOmega.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c et.cpp -o et.o et.cpp:488:8: warning: unused variable 'naTime' [-Wunused-variable] bool naTime=false; ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c etTran.cpp -o etTran.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c isEt.c -o isEt.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c rxStack.cpp -o rxStack.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2random/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rxode2parse/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I/opt/R/arm64/include -D_isrxode2et_ -fPIC -falign-functions=64 -Wall -g -O2 -c rxode2random.cpp -o rxode2random.o clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o rxode2et.so RcppExports.o cbindThetaOmega.o et.o etTran.o init.o isEt.o rxStack.o rxode2random.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/rxode2et.Rcheck/00LOCK-rxode2et/00new/rxode2et/libs ** generating debug symbols (dSYM) ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rxode2et)