shinyMUI is an R package that provides Material UI components for use within Shiny applications. This package allows you to create more engaging and visually appealing user interfaces by leveraging the Material Design system.
You can install the shinyMUI
package directly from GitHub. To do so, you'll need the devtools
package:
install.packages("devtools")
Install shinyMUI
from GitHub:
devtools::install_github("sciordia/shinyMUI")
Include shinyMUI
in your server and UI code:
library(shiny)
library(shinyMUI)
To build and install the package locally:
-
Clone the repository:
git clone git@github.com:sciordia/shinyMUI_Examples.git cd shinyMUI_Examples
-
Build the package using R commands:
R CMD build shinyMUI R CMD INSTALL shinyMUI_0.1.0.tar.gz
Note: Adjust the version number 0.1.0
as appropriate for your package.
If your package includes custom JavaScript components, you'll likely have a /js
directory with the source files. To build these, you might be using yarn
.
-
Navigate to the
/js
directory:cd js
-
Install JavaScript dependencies:
yarn install
-
Run the build script defined in
package.json
:yarn build
Note: The actual command may vary depending on how you've set up your JavaScript build process.
To run the examples included in the package:
- Navigate to the
/inst/examples
directory. - Run an example with
shiny::runApp()
:shiny::runApp("example_app")
To see shinyMUI
in action, check the inst/examples
directory for Shiny apps using shinyMUI
components.
Feel free to report issues, suggest enhancements, or contribute code:
- Report Issues: Use the GitHub issues tracker to send bug reports or feature requests.
- Suggest Enhancements: Feedback is always welcome. Please provide detailed information.
- Send Pull Requests: If you've fixed a bug or added a feature, send a PR!
See CONTRIBUTING.md for guidelines on contributing.
shinyMUI is licensed under the MIT License - see the LICENSE.md file for details.