wrat5

Lightweight R project with a Shiny app and Quarto document.

Overview

This repository contains a Shiny application (app.R) and a Quarto document (wrat5.qmd) built with R. The project uses renv for dependency management (see renv/).

Features

Requirements

Setup (local)

Option A — restore using renv (recommended):

# from project root
Rscript -e 'if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv"); renv::restore()'

Option B — install from requirements.txt (if present):

# uses pip for any Python deps listed in requirements.txt (if applicable)
# only relevant if the project also relies on Python tooling
python3 -m pip install -r requirements.txt

Run the Shiny app

From R/Posit (recommended):

From the shell (headless):

# run app.R with Rscript (useful for simple local runs)
Rscript -e "shiny::runApp('.', launch.browser = TRUE)"

If app.R defines shiny::shinyApp() or uses shiny::runApp() this will launch the app.

Render the Quarto document

Quarto document is wrat5.qmd. To render locally (requires quarto installed):

quarto render wrat5.qmd

Or render from R with the quarto package:

Rscript -e "quarto::quarto_render('wrat5.qmd')"

Deployment

Suggested deployment options:

Project structure (key files)

Development notes

License

This project does not include a license file. Add a LICENSE (for example MIT) if you want to permit reuse.

Contact

For questions or issues, open an issue in this repository or contact the maintainer.