Lightweight R project with a Shiny app and Quarto document.
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/).
app.R).wrat5.qmd) and generated HTML (wrat5.html).renv.renv/library and requirements.txt).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
From R/Posit (recommended):
app.R and click “Run App” in the IDE.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.
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')"
Suggested deployment options:
app.R — main Shiny applicationwrat5.qmd — Quarto documentwrat5.html — generated HTML outputrenv/ — local renv environment and libraryrequirements.txt — optional Python requirementsrenv::snapshot() after changing dependencies.renv::update() or install normally and then snapshot.This project does not include a license file. Add a LICENSE (for example MIT) if you want to permit reuse.
For questions or issues, open an issue in this repository or contact the maintainer.