From 5d7d33dbbd8df817f0838637d9b941a69e08e5d9 Mon Sep 17 00:00:00 2001 From: Craig Date: Mon, 26 Aug 2024 14:24:37 -1000 Subject: [PATCH] install r and dependencies with publish --- .Rprofile | 1 + .github/workflows/publish.yml | 10 + docs/index.html | 67 +- docs/program.html | 550 ++++---- docs/site_libs/bootstrap/bootstrap.min.css | 4 +- .../quarto-syntax-highlighting.css | 2 + renv.lock | 770 +++++++++++ renv/.gitignore | 7 + renv/activate.R | 1220 +++++++++++++++++ renv/settings.json | 19 + 10 files changed, 2345 insertions(+), 305 deletions(-) create mode 100644 .Rprofile create mode 100644 renv.lock create mode 100644 renv/.gitignore create mode 100644 renv/activate.R create mode 100644 renv/settings.json diff --git a/.Rprofile b/.Rprofile new file mode 100644 index 0000000..81b960f --- /dev/null +++ b/.Rprofile @@ -0,0 +1 @@ +source("renv/activate.R") diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b7622e2..2dc5c43 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,16 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 + + - name: Install R + uses: r-lib/actions/setup-r@v2 + with: + r-version: '4.2.0' + + - name: Install R Dependencies + uses: r-lib/actions/setup-renv@v2 + with: + cache-version: 1 - name: Render and Publish uses: quarto-dev/quarto-actions/publish@v2 diff --git a/docs/index.html b/docs/index.html index 09d2aa7..f130211 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - + @@ -99,7 +99,7 @@ }) - +