Istiak04 / shiny.react

Home Page:https://appsilon.github.io/shiny.react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shiny.react

R build status

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.

To install the package, run 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

About

https://appsilon.github.io/shiny.react

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 98.5%Language:R 1.4%Language:CSS 0.1%