* installing *source* package ‘rxode2et’ ... ** using staged installation R Under development (unstable) (2023-12-09 r85665) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu 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. R> ## This is only for rxode2 R> .in <- suppressWarnings(readLines("src/Makevars.in")) R> R> 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) + } R> R> 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) + } + } R> R> R> unlink("R/rxode2_md5.R") R> R> cpp <- list.files("src", pattern = ".(c|h|cpp|f)$") R> #Rfiles <- list.files("R/", pattern = ".R") R> R> cmd <- file.path(R.home("bin"), "R") R> args <- c("CMD", "config") R> R> 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) + ## ), + "" + )) R> unlink("R/rxode2et_md5.R") R> md5file <- file("R/rxode2et_md5.R", "wb") R> writeLines(sprintf("rxode2et.md5 <- \"%s\"\n", md5), md5file) R> close(md5file) R> R> l <- readLines(file.path(system.file(package="rxode2random"), "include", "rxode2random_as.h")) R> l <- gsub("qtest", "_rxode2et_qtest", l) R> R> rxode2et_as.h <- file("src/rxode2et_as.h", "wb") R> writeLines(l, rxode2et_as.h) R> close(rxode2et_as.h) R> > proc.time() user system elapsed 0.107 0.046 0.130 --------[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 <- "9656fbf09edf2d37b2e228e000edaf17" --------[begin R/rxode2et_md5.R]-------- ** libs using C compiler: ‘Debian clang version 17.0.5 (1)’ using C++ compiler: ‘Debian clang version 17.0.5 (1)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c cbindThetaOmega.cpp -o cbindThetaOmega.o In file included from cbindThetaOmega.cpp:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from cbindThetaOmega.cpp:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c et.cpp -o et.o In file included from et.cpp:5: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from et.cpp:5: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c etTran.cpp -o etTran.o In file included from etTran.cpp:5: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from etTran.cpp:5: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang-17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang-17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c isEt.c -o isEt.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c rxStack.cpp -o rxStack.o In file included from rxStack.cpp:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from rxStack.cpp:4: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", rxStack.cpp:57:7: warning: variable 'ncols' set but not used [-Wunused-but-set-variable] 57 | int ncols=3; | ^ 4 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/srv/hornik/tmp/CRAN/Library/rxode2random/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rxode2parse/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -D_isrxode2et_ -fpic -g -O3 -Wall -pedantic -c rxode2random.cpp -o rxode2random.o In file included from rxode2random.cpp:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from rxode2random.cpp:3: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o rxode2et.so RcppExports.o cbindThetaOmega.o et.o etTran.o init.o isEt.o rxStack.o rxode2random.o -llapack -L/home/hornik/tmp/R/lib -lRblas -L/usr/lib/llvm-17/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -fopenmp -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/rxode2et.Rcheck/00LOCK-rxode2et/00new/rxode2et/libs ** 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)