Skip to content

Commit 44a5daf

Browse files
committed
fixing quarto render error
1 parent a168dbb commit 44a5daf

2 files changed

Lines changed: 12 additions & 34 deletions

File tree

.github/workflows/pkgdown.yaml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
pkgdown:
1919
runs-on: ubuntu-latest
2020

21-
# Only restrict concurrency for non-PR jobs
2221
concurrency:
2322
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
2423

@@ -42,41 +41,18 @@ jobs:
4241

4342
- uses: r-lib/actions/setup-r-dependencies@v2
4443
with:
45-
extra-packages: r-lib/pkgdown, any::quarto, local::.
44+
extra-packages: |
45+
r-lib/pkgdown
46+
any::quarto
47+
github::istallworthy/devMSMsHelpers
48+
local::.
4649
needs: website
4750

48-
- name: Session info
49-
shell: Rscript {0}
50-
run: |
51-
cat("R version:\n")
52-
print(R.version.string)
53-
cat("\npkgdown version:\n")
54-
print(as.character(packageVersion("pkgdown")))
55-
cat("\nquarto R package version:\n")
56-
print(as.character(packageVersion("quarto")))
57-
5851
- name: Check Quarto
5952
run: |
6053
which quarto
6154
quarto --version
6255
63-
- name: List vignette files
64-
run: |
65-
pwd
66-
ls -la
67-
ls -la vignettes || true
68-
find vignettes -maxdepth 2 -type f | sort || true
69-
70-
- name: Render failing vignette directly
71-
shell: Rscript {0}
72-
run: |
73-
quarto::quarto_render("vignettes/Workflow_Continuous_Exposure.qmd", quiet = FALSE)
74-
75-
- name: Build articles with full logs
76-
shell: Rscript {0}
77-
run: |
78-
pkgdown::build_articles(quiet = FALSE)
79-
8056
- name: Build site
8157
shell: Rscript {0}
8258
run: |

vignettes/Workflow_Continuous_Exposure.qmd

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ Until *devMSMs* is available on CRAN, you will need to install it directly from
3333
```{r setup}
3434
options(repos = c(CRAN = "https://cloud.r-project.org"))
3535
36-
install.packages("remotes", quiet = TRUE)
37-
require("remotes", quietly = TRUE)
36+
# install.packages("remotes", quiet = TRUE)
37+
# require("remotes", quietly = TRUE)
38+
library(remotes)
3839
39-
install.packages("devtools", quiet = TRUE)
40-
require("devtools", quietly = TRUE)
40+
# install.packages("devtools", quiet = TRUE)
41+
# require("devtools", quietly = TRUE)
42+
library(devtools)
4143
4244
# devtools::install_github("istallworthy/devMSMs", quiet = TRUE)
4345
library(devMSMs)
4446
45-
devtools::install_github("istallworthy/devMSMsHelpers", quiet = TRUE)
47+
# devtools::install_github("istallworthy/devMSMsHelpers", quiet = TRUE)
4648
library(devMSMsHelpers)
4749
```
4850

0 commit comments

Comments
 (0)