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

Consider pharma-relevant package set support in webR #2

Open
parmsam-pfizer opened this issue May 5, 2023 · 2 comments
Open

Consider pharma-relevant package set support in webR #2

parmsam-pfizer opened this issue May 5, 2023 · 2 comments

Comments

@parmsam-pfizer
Copy link

Currently support set is here: https://github.com/r-wasm/webr-repo/blob/main/repo-packages

@rpodcast
Copy link
Member

rpodcast commented Aug 11, 2023

Quick update after conversation with Joe Cheng on 8-11-23: (EDIT 8-18-23 after checking webR package repo site)

  • {haven} is now supported in webR!
  • Table packages supported: {reactable}, {Tplyr}, {rtables}
  • Table packages not supported at the moment: {huxtable}
  • Visualization packages:
    • Supported: {ggplot2}, {cowplot},
    • Not supported at the moment: {visR}
  • Shiny-related packages:
    • Supported: {htmltools}
    • Not supported at the moment: {shinyWidgets}, {tippy}, {golem}

You can access the latest webR testing console at https://webr.r-wasm.org/latest/ and verify if a package can be installed by running this command in the R console: webR::install('name_of_package')

To view the current status of package availability visit the webR package repository site at https://repo.r-wasm.org

@parmsam-pfizer
Copy link
Author

Here's a really simple function to search on the repo:

is_in_webr <- function(pkg){
  wasm_pkgs_url <- "https://raw.githubusercontent.com/r-wasm/webr-repo/main/repo-packages"
  pkg %in% readr::read_lines(wasm_pkgs_url)
}
  
is_in_webr("dplyr")
#> [1] TRUE

Created on 2023-08-18 by the reprex package (v2.0.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants