Skip to content

Commit 4bfc63a

Browse files
committed
Render post using quarto library directly
1 parent 81ed4e5 commit 4bfc63a

File tree

3 files changed

+81
-9
lines changed

3 files changed

+81
-9
lines changed

.github/workflows/automate-release-post.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ jobs:
6969
}
7070
shell: Rscript {0}
7171

72-
- name: Render Quarto Project
73-
uses: quarto-dev/quarto-actions/render@v2
74-
with:
75-
path: posts/
76-
7772
- uses: peter-evans/create-pull-request@10db75894f6d53fc01c3bb0995e95bd03e583a62
7873
id: cpr
7974
with:

_scripts/create_release_post.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ create_release_post <- function(release_endpoint_response, pkg) {
3434
file.path(post_folder, "index.qmd")
3535
)
3636

37+
quarto::quarto_render(file.path(post_folder, "index.qmd"))
3738
}

renv.lock

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@
781781
},
782782
"cpp11": {
783783
"Package": "cpp11",
784-
"Version": "0.5.0",
784+
"Version": "0.5.2",
785785
"Source": "Repository",
786786
"Title": "A C++11 Interface for R's C Interface",
787787
"Authors@R": "c( person(\"Davis\", \"Vaughan\", email = \"davis@posit.co\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-4777-038X\")), person(\"Jim\",\"Hester\", role = \"aut\", comment = c(ORCID = \"0000-0002-2739-7082\")), person(\"Romain\", \"François\", role = \"aut\", comment = c(ORCID = \"0000-0002-2444-4226\")), person(\"Benjamin\", \"Kietzman\", role = \"ctb\"), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )",
@@ -790,7 +790,7 @@
790790
"URL": "https://cpp11.r-lib.org, https://github.com/r-lib/cpp11",
791791
"BugReports": "https://github.com/r-lib/cpp11/issues",
792792
"Depends": [
793-
"R (>= 3.6.0)"
793+
"R (>= 4.0.0)"
794794
],
795795
"Suggests": [
796796
"bench",
@@ -820,11 +820,11 @@
820820
"Config/testthat/edition": "3",
821821
"Config/Needs/cpp11/cpp_register": "brio, cli, decor, desc, glue, tibble, vctrs",
822822
"Encoding": "UTF-8",
823-
"RoxygenNote": "7.2.3",
823+
"RoxygenNote": "7.3.2",
824824
"NeedsCompilation": "no",
825825
"Author": "Davis Vaughan [aut, cre] (<https://orcid.org/0000-0003-4777-038X>), Jim Hester [aut] (<https://orcid.org/0000-0002-2739-7082>), Romain François [aut] (<https://orcid.org/0000-0002-2444-4226>), Benjamin Kietzman [ctb], Posit Software, PBC [cph, fnd]",
826826
"Maintainer": "Davis Vaughan <davis@posit.co>",
827-
"Repository": "RSPM"
827+
"Repository": "P3M"
828828
},
829829
"crayon": {
830830
"Package": "crayon",
@@ -1949,6 +1949,39 @@
19491949
"Repository": "P3M",
19501950
"Encoding": "UTF-8"
19511951
},
1952+
"later": {
1953+
"Package": "later",
1954+
"Version": "1.4.2",
1955+
"Source": "Repository",
1956+
"Type": "Package",
1957+
"Title": "Utilities for Scheduling Functions to Execute Later with Event Loops",
1958+
"Authors@R": "c( person(\"Winston\", \"Chang\", role = c(\"aut\", \"cre\"), email = \"winston@posit.co\"), person(\"Joe\", \"Cheng\", role = c(\"aut\"), email = \"joe@posit.co\"), person(\"Charlie\", \"Gao\", role = c(\"aut\"), email = \"charlie.gao@shikokuchuo.net\", comment = c(ORCID = \"0000-0002-0750-061X\")), person(family = \"Posit Software, PBC\", role = \"cph\"), person(\"Marcus\", \"Geelnard\", role = c(\"ctb\", \"cph\"), comment = \"TinyCThread library, https://tinycthread.github.io/\"), person(\"Evan\", \"Nemerson\", role = c(\"ctb\", \"cph\"), comment = \"TinyCThread library, https://tinycthread.github.io/\") )",
1959+
"Description": "Executes arbitrary R or C functions some time after the current time, after the R execution stack has emptied. The functions are scheduled in an event loop.",
1960+
"URL": "https://r-lib.github.io/later/, https://github.com/r-lib/later",
1961+
"BugReports": "https://github.com/r-lib/later/issues",
1962+
"License": "MIT + file LICENSE",
1963+
"Imports": [
1964+
"Rcpp (>= 0.12.9)",
1965+
"rlang"
1966+
],
1967+
"LinkingTo": [
1968+
"Rcpp"
1969+
],
1970+
"RoxygenNote": "7.3.2",
1971+
"Suggests": [
1972+
"knitr",
1973+
"nanonext",
1974+
"R6",
1975+
"rmarkdown",
1976+
"testthat (>= 2.1.0)"
1977+
],
1978+
"VignetteBuilder": "knitr",
1979+
"Encoding": "UTF-8",
1980+
"NeedsCompilation": "yes",
1981+
"Author": "Winston Chang [aut, cre], Joe Cheng [aut], Charlie Gao [aut] (<https://orcid.org/0000-0002-0750-061X>), Posit Software, PBC [cph], Marcus Geelnard [ctb, cph] (TinyCThread library, https://tinycthread.github.io/), Evan Nemerson [ctb, cph] (TinyCThread library, https://tinycthread.github.io/)",
1982+
"Maintainer": "Winston Chang <winston@posit.co>",
1983+
"Repository": "P3M"
1984+
},
19521985
"lattice": {
19531986
"Package": "lattice",
19541987
"Version": "0.22-6",
@@ -2745,6 +2778,49 @@
27452778
"Maintainer": "Hadley Wickham <hadley@rstudio.com>",
27462779
"Repository": "RSPM"
27472780
},
2781+
"quarto": {
2782+
"Package": "quarto",
2783+
"Version": "1.4.4",
2784+
"Source": "Repository",
2785+
"Title": "R Interface to 'Quarto' Markdown Publishing System",
2786+
"Authors@R": "c( person(\"JJ\", \"Allaire\", , \"jj@posit.co\", role = \"aut\", comment = c(ORCID = \"0000-0003-0174-9868\")), person(\"Christophe\", \"Dervieux\", , \"cderv@posit.co\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0003-4474-2498\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )",
2787+
"Description": "Convert R Markdown documents and 'Jupyter' notebooks to a variety of output formats using 'Quarto'.",
2788+
"License": "GPL (>= 2)",
2789+
"URL": "https://github.com/quarto-dev/quarto-r, https://quarto-dev.github.io/quarto-r/",
2790+
"BugReports": "https://github.com/quarto-dev/quarto-r/issues",
2791+
"Depends": [
2792+
"R (>= 3.6)"
2793+
],
2794+
"Imports": [
2795+
"cli",
2796+
"jsonlite",
2797+
"later",
2798+
"processx",
2799+
"rlang",
2800+
"rmarkdown",
2801+
"rstudioapi",
2802+
"tools",
2803+
"utils",
2804+
"yaml"
2805+
],
2806+
"Suggests": [
2807+
"curl",
2808+
"knitr",
2809+
"rsconnect (>= 0.8.26)",
2810+
"testthat (>= 3.1.7)",
2811+
"withr",
2812+
"xfun"
2813+
],
2814+
"VignetteBuilder": "quarto",
2815+
"Config/testthat/edition": "3",
2816+
"Encoding": "UTF-8",
2817+
"RoxygenNote": "7.3.2",
2818+
"SystemRequirements": "Quarto command line tool (<https://github.com/quarto-dev/quarto-cli>).",
2819+
"NeedsCompilation": "no",
2820+
"Author": "JJ Allaire [aut] (<https://orcid.org/0000-0003-0174-9868>), Christophe Dervieux [cre, aut] (<https://orcid.org/0000-0003-4474-2498>), Posit Software, PBC [cph, fnd]",
2821+
"Maintainer": "Christophe Dervieux <cderv@posit.co>",
2822+
"Repository": "P3M"
2823+
},
27482824
"rappdirs": {
27492825
"Package": "rappdirs",
27502826
"Version": "0.3.3",

0 commit comments

Comments
 (0)