diff --git a/.github/workflows/quarto-publish.yml b/.github/workflows/quarto-publish.yml index 9772b46..3eaee59 100644 --- a/.github/workflows/quarto-publish.yml +++ b/.github/workflows/quarto-publish.yml @@ -30,16 +30,14 @@ jobs: - name: Setup R uses: r-lib/actions/setup-r@v2 + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + working-direcotry: docs/ - name: Install Python packages run: | pip install --upgrade pip -r docs/requirements.txt - - name: Install R packages - shell: Rscript {0} - run: | - install.packages(c('dplyr', 'glue', 'here', 'knitr', 'rmarkdown', 'tidyr', 'yaml')) - - name: prerender run: | python docs/create-listings.py diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 884e546..17984d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -312,13 +312,12 @@ jobs: - uses: quarto-dev/quarto-actions/setup@v2 - uses: actions/setup-python@v3 - uses: r-lib/actions/setup-r@v2 + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + working-direcotry: docs/ - name: Install Python packages run: | pip install --upgrade pip -r docs/requirements.txt - - name: Install R packages - shell: Rscript {0} - run: | - install.packages(c('dplyr', 'glue', 'here', 'knitr', 'rmarkdown', 'tidyr', 'yaml')) - name: prerender run: | python docs/create-listings.py diff --git a/docs/DESCRIPTION b/docs/DESCRIPTION new file mode 100644 index 0000000..52fd67d --- /dev/null +++ b/docs/DESCRIPTION @@ -0,0 +1,10 @@ +Depends: + - R (>= 4.0.0) +Imports: + - dplyr + - glue + - here + - knitr + - rmarkdown + - tidyr + - yaml