This file contains hidden or 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
{"name":"AI_RetryError","reason":"maxRetriesExceeded","errors":[{"name":"AI_APICallError","url":"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro-exp-03-25:streamGenerateContent?alt=sse","requestBodyValues":{"generationConfig":{"temperature":0},"contents":[{"role":"user","parts":[{"text":"Can you replace all %>% with |> in the R/ folder?"}]},{"role":"model","parts":[{"text":"Okay, I can help you with that. I will replace all occurrences of %>% with the base R pipe |> in all R files within the R/ folder.\n\nI will proceed with the following steps:\n1. Get a list of all files in the R/ directory.\n2. For each R file (.R or .r extension):\n a. Read the content of the file.\n b. Replace all instances of %>% with |>.\n c. Write the modified content back to the file.\n\nPlease confirm if you'd like me to proceed."}]},{"role":"user","parts":[{"text":"Confirm"}]},{"role":"model","parts":[{"text":"Okay, I will proceed with replacing %>% with |> in all R files within the R/ folder.\n\nFirst, I nee |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
NewerOlder