diff --git a/.github/workflows/altdoc.yaml b/.github/workflows/altdoc.yaml index e438a669..6b5c2c1f 100644 --- a/.github/workflows/altdoc.yaml +++ b/.github/workflows/altdoc.yaml @@ -34,15 +34,21 @@ jobs: - name: Dependencies run: ./run.sh install_all + + - name: Altdoc from GitHub + run: ./run.sh install_github etiennebacher/altdoc + + - name: Additional Altdoc Dependency + run: ./run.sh install_r future.apply - name: Build site run: | # If parallel = TRUE in render_docs() - # future::plan(future::multicore) + future::plan(future::multicore) install.packages(".", repos = NULL, type = "source") install.packages("pkgload") pkgload::load_all() - altdoc::render_docs(parallel = FALSE, freeze = FALSE) + altdoc::render_docs(parallel = TRUE, freeze = FALSE) shell: Rscript {0} - name: Deploy to GitHub pages 🚀 diff --git a/DESCRIPTION b/DESCRIPTION index 33d49ba8..277d2224 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,6 @@ Authors@R: Description: Lightweight extension of the base R graphics system, with support for automatic legends, facets, themes, and various other enhancements. License: Apache License (>= 2) -Remotes: etiennebacher/altdoc Depends: R (>= 4.0.0) Imports: @@ -46,7 +45,6 @@ Imports: tools, utils Suggests: - altdoc (>= 0.5.0.9000), fontquiver, png, rsvg, @@ -54,6 +52,7 @@ Suggests: tinytest, tinysnapshot (>= 0.0.3), knitr +Config/Needs/website: etiennebacher/altdoc, future.apply Encoding: UTF-8 RoxygenNote: 7.3.2 URL: https://grantmcdermott.com/tinyplot/