Skip to content

n-actuarial/shiny.react

 
 

Repository files navigation

shiny.react shiny.react logo

Use React in Shiny applications.

CRAN status cranlogs total CI

This R package enables using React in Shiny apps and is used e.g. by the shiny.fluent package. It contains R and JS code which is independent from the React library (e.g. Fluent UI) that is being wrapped.

Installation

Stable version:

install.packages("shiny.react")

Development version:

remotes::install_github("Appsilon/shiny.react")

Development

To build and install the package, run:

(cd js && yarn && yarn webpack)
Rscript -e 'devtools::document(); devtools::install()'

Testing

  • cd js && yarn lint lints the JS code
  • cd js && yarn test runs the unit tests for the JS code
  • Rscript -e "lintr::lint_package()" runs linter for the R code
  • Rscript -e "devtools::test()" runs unit tests for the R code

How to contribute?

If you want to contribute to this project please submit a regular PR, once you're done with a new feature or bug fix.

Reporting a bug is also helpful - please use GitHub issues and describe your problem as detailed as possible.

Appsilon

Appsilon is a Posit (formerly RStudio) Full Service Certified Partner.
Learn more at appsilon.com.

Get in touch opensource@appsilon.com

Explore the Rhinoverse - a family of R packages built around Rhino!

We are hiring!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • R 1.2%
  • Other 0.1%