Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/altdoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🚀
Expand Down
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -46,14 +45,14 @@ Imports:
tools,
utils
Suggests:
altdoc (>= 0.5.0.9000),
fontquiver,
png,
rsvg,
svglite (>= 2.2.0),
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/
Expand Down