This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running `/home/runner/work/ark/ark/target/debug/deps/kernel-7a83330cb920019c kernel --nocapture` | |
running 1 test | |
[crates/ark/src/interface.rs:230:5] &r_home = "/usr/lib/R" | |
[crates/ark/src/sys/unix/interface.rs:59:9] home = "/usr/lib/R" | |
thread 'dummy_kernel' panicked at crates/ark/src/interface.rs:1678:5: | |
Suicide: unable to initialize the JIT | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
thread 'dummy_kernel' panicked at library/core/src/panicking.rs:221:5: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <R_ext/Parse.h> | |
const char* r_print_value(SEXP x) { | |
// Assign `x` into the global environment under the name `.debug` | |
Rf_defineVar(Rf_install(".debug"), x, R_GlobalEnv); | |
// This is the R code that we want to run to print `.debug` and then capture all its printed output | |
const char* command = "paste0(capture.output(print(.debug)), collapse = '\n')"; | |
SEXP command_sexp = PROTECT(Rf_allocVector(STRSXP, 1)); | |
SET_STRING_ELT(command_sexp, 0, Rf_mkCharCE(command, CE_UTF8)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apply Lionel's patches | |
wget https://raw.githubusercontent.com/lionel-/contributing/master/inst/GNUmakefile | |
wget https://raw.githubusercontent.com/lionel-/contributing/master/inst/make-svn-revision | |
chmod +x make-svn-revision | |
brew install wget if you don't have it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(clock) | |
library(purrr) | |
library(vctrs) | |
library(tibble) | |
generate_transitions <- function(zone, | |
from = date_build(1900, 1, 1), | |
to = date_build(2030, 1, 1)) { | |
days <- date_seq( | |
from = from, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
NewerOlder