Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing packages to webr #383

Open
tstubbs-evolution opened this issue Mar 13, 2024 · 4 comments
Open

Adding missing packages to webr #383

tstubbs-evolution opened this issue Mar 13, 2024 · 4 comments
Labels
package request This is a request for a Wasm package

Comments

@tstubbs-evolution
Copy link

Hello,

I am hoping to use statscloud to design some teaching material. statscloud uses WebR for its R terminal interface. When trying to install a package, it gave the error "Requested package XXXXX not found in webR binary repo". I wanted to ask, can packages be added to the webR binary repo?

I wanted to use the the R package 'phytools', but when installing the dependencies, it stated:

Requested package mnormt not found in webR binary repo.
Requested package phangorn not found in webR binary repo

Would it be possible to add mnormt, phangorn and phytools to the binary repo?

Best wishes,
Tom

@georgestagg georgestagg added the package request This is a request for a Wasm package label Mar 14, 2024
@adrianolszewski
Copy link

adrianolszewski commented Mar 17, 2024

Oh yes, also: tseries, nloptr, glmnet, muhaz, arrangements, robustbase, curl - used itself
Rmpfr, RcppZiggurat, gsl, deSolve - serving as auxiliary dependencies

These packages make key dependency in multiple important packages.

library(MKinfer)
Downloading webR package: MKdescr
Downloading webR package: boot
Warning in install(dep, repos, lib, quiet) :
  Requested package arrangements not found in webR binary repo.
Downloading webR package: exactRankTests
Downloading webR package: ellipsis

[...]

Downloading webR package: MKinfer
Error: could not find function "perm.t.test"
Error: package or namespace load failed for ‘MKinfer’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘arrangements’

@tylermorganwall
Copy link

Just wanted to add my +1 to nloptr: this package is imported by lme4, which is a core mixed effects modelling package.

@georgestagg
Copy link
Member

georgestagg commented Apr 3, 2024

The nloptr/lme4 packages are being tracked in r-wasm/rwasm#31.

@adrianolszewski
Copy link

I'm also wondering what makes the arrangements package to be missing - is this because making it a web assembly fails for some reason, or because it wasn't yet recompiled for web assembly?

This package seems to be rather rarely updated (looking at the GitHub metrics), but maybe the author will be willing to help ( https://github.com/randy3k/arrangements ). If not, then I will contact the author of the MKinfer package ( https://github.com/stamats/MKinfer ), which is just awesome set of permutation and bootstrap tests (so extensively using permutation generator), to maybe switch to something else, that is supported by web R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request This is a request for a Wasm package
Projects
None yet
Development

No branches or pull requests

4 participants