* installing *source* package ‘minired’ ... ** this is package ‘minired’ version ‘1.0.1’ ** package ‘minired’ successfully unpacked and MD5 sums checked ** using staged installation checking runtime found: 'darwin25.5.0' arch: 'aarch64' using download from 'https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip' checking REDATAM libraries cannot find current redatam runtime files attempting to download them trying URL 'https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip' Error in download.file("https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip", : cannot open URL 'https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip' In addition: Warning message: In download.file("https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip", : cannot open URL 'https://redatam-core.s3.us-west-2.amazonaws.com/core-dev/macos-arm64/redatamx-core-macos-arm64-20241010.zip': HTTP status was '403 Forbidden' Execution halted unpacking current redatam runtime unzip: cannot find or open redatam-engine.zip, redatam-engine.zip.zip or redatam-engine.zip.ZIP. cp: tmpredatam/lib/libredengine-1.0.0-rc2.*: No such file or directory ** libs specified C++17 using C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’ using C++17 using SDK: ‘MacOSX26.5.sdk’ clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/cpp11/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/declarations.hpp:13: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:11: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:72:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 72 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from cpp11.cpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/declarations.hpp:13: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:165:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 165 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:171:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 171 | return apply(std::forward(f), std::move(a), | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:185:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 185 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:199:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 199 | return unwind_protect(detail::closure{ | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/cpp11/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c red_dictionary.cpp -o red_dictionary.o In file included from red_dictionary.cpp:21: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:11: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:72:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 72 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ red_dictionary.cpp:157:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 157 | int rows = names.size(); | ~~~~ ~~~~~~^~~~~~ red_dictionary.cpp:191:20: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 191 | int rows = names.size(); | ~~~~ ~~~~~~^~~~~~ In file included from red_dictionary.cpp:21: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:165:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 165 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:171:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 171 | return apply(std::forward(f), std::move(a), | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:185:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 185 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:199:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 199 | return unwind_protect(detail::closure{ | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ 4 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/cpp11/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c red_execute.cpp -o red_execute.o In file included from red_execute.cpp:21: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:11: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:72:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 72 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ red_execute.cpp:81:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 81 | int cols = sexpColumns->size(); | ~~~~ ~~~~~~~~~~~~~^~~~~~ red_execute.cpp:100:47: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] 100 | INTEGER(col)[static_cast(row)] = *value; | ~ ^~~~~~ In file included from red_execute.cpp:21: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:165:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 165 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:171:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 171 | return apply(std::forward(f), std::move(a), | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:185:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 185 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:199:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 199 | return unwind_protect(detail::closure{ | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ 4 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/cpp11/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c red_initialize.cpp -o red_initialize.o In file included from red_initialize.cpp:28: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:11: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:72:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 72 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from red_initialize.cpp:28: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:165:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 165 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:171:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 171 | return apply(std::forward(f), std::move(a), | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:185:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 185 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:199:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 199 | return unwind_protect(detail::closure{ | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o minired.so cpp11.o red_dictionary.o red_execute.o red_initialize.o -L/Users/ripley/R/R-devel/lib -lR installing to /Users/ripley/R/packages/tests-devel/minired.Rcheck/00LOCK-minired/00new/minired/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 sh: line 1: 85613 Segmentation fault: 11 R_LIBS='/Users/ripley/R/packages/tests-devel/minired.Rcheck:/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//Rtmp3rYxs4/working_dir/RtmpNzykGd/RLIBS_148bc56d653d3' R_TESTS= R_ENVIRON_USER='' R_TESTS= R_LIBS_USER='NULL' R_TESTS= R_LIBS_SITE='NULL' R_TESTS= '/Users/ripley/R/R-devel/bin/R' --no-save --no-restore --no-echo --no-init-file --no-site-file --no-environ 2>&1 < '/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//Rtmp3rYxs4/working_dir/RtmpNzykGd/file148bc11196e2f' *** caught segfault *** address 0x0, cause 'invalid permissions' Traceback: 1: fun(libname, pkgname) 2: doTryCatch(return(expr), name, parentenv, handler) 3: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 4: tryCatchList(expr, classes, parentenv, handlers) 5: tryCatch(fun(libname, pkgname), error = identity) 6: runHook(".onLoad", env, package.lib, package) 7: loadNamespace(package, lib.loc) 8: doTryCatch(return(expr), name, parentenv, handler) 9: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10: tryCatchList(expr, classes, parentenv, handlers) 11: tryCatch({ ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)}) 12: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) 13: withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 14: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)) 15: doTryCatch(return(expr), name, parentenv, handler) 16: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17: tryCatchList(expr, classes, parentenv, handlers) 18: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call, nlines = 1L) prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 19: try(suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE))) 20: tools:::.test_load_package("minired", "/Users/ripley/R/packages/tests-devel/minired.Rcheck/00LOCK-minired/00new") An irrecoverable exception occurred. R is aborting now ... ERROR: loading failed * removing ‘/Users/ripley/R/packages/tests-devel/minired.Rcheck/minired’