I am maintaining a wasm CRAN-like which was build from GA with R4.3 few weeks ago using the r-wasm/actions
flow from @georgestagg: https://github.com/RinteRface/rinterface-wasm-cran.
I updated it and since R4.4 was released recently, my WASM repo is now built with R4.4. shinylive depends on an older webr version (webR only supports R4.4.0 since recently r-wasm/webr@28077f5). Therefore, shinylive still runs R4.3 (there are references to R4.3 such as in webr::install
):
webr::install
function (packages, repos = NULL, info = NULL, lib = NULL, quiet = FALSE,
mount = TRUE)
{
...
contrib <- gsub("repo.r-wasm.org/bin/emscripten/contrib/4.3",
"repo.r-wasm.org/bin/emscripten/contrib/4.3.3", contrib,
fixed = TRUE)
...
}
getRversion()
[1] ‘4.3.3’
which prevents from retrieving and installing the package from my CRAN like.
Here is the shinylive link to reproduce.