generated from hds-sandbox/course-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a2f94eb
Showing
42 changed files
with
1,435 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
on: | ||
push: | ||
branches: webpage-quarto | ||
|
||
name: Quarto Publish | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Install libcurl on Linux | ||
if: runner.os == 'Linux' | ||
run: sudo apt-get update -y && sudo apt-get install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Install R | ||
uses: r-lib/actions/setup-r@v2 | ||
|
||
- name: Install R Dependencies | ||
uses: r-lib/actions/setup-renv@v2 | ||
|
||
|
||
# - name: Install pandoc | ||
# uses: pandoc/actions/setup@{main} | ||
|
||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# History files | ||
*.Rhistory | ||
*.Rapp.history | ||
|
||
# Session Data files | ||
*.RData | ||
|
||
# User-specific files | ||
*.Ruserdata | ||
|
||
# Example code in package build process | ||
*-Ex.R | ||
|
||
# Output files from R CMD build | ||
/*.tar.gz | ||
|
||
# Output files from R CMD check | ||
/*.Rcheck/ | ||
|
||
# RStudio files | ||
.Rproj.user/ | ||
|
||
# produced vignettes | ||
vignettes/*.html | ||
vignettes/*.pdf | ||
|
||
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 | ||
.httr-oauth | ||
|
||
# knitr and R markdown default cache directories | ||
*_cache/ | ||
/cache/ | ||
|
||
# Temporary files created by R markdown | ||
*.utf8.md | ||
*.knit.md | ||
|
||
# R Environment Variables | ||
.Renviron | ||
|
||
# Other | ||
*.DS_Store | ||
|
||
.DS_Store | ||
.ipynb_checkpoints | ||
Data | ||
.quarto | ||
_site | ||
/.quarto/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Package: rquarto | ||
Title: Packages needed for the quarto course webpage | ||
Version: 1.0.0 | ||
Authors@R: | ||
c(person(given = "Samuele", | ||
family = "Soraggi", | ||
role = c("aut", "cre"), | ||
email = "samuele@birc.au.dk")) | ||
Description: Packages needed for the quarto webpage to compile the few R codes | ||
Imports: xml2, curl | ||
Suggests: covr, knitr, rmarkdown, testthat, gt, tidyverse, ggplot2 | ||
License: GPL (>= 2) | ||
VignetteBuilder: knitr, rmarkdown |
Oops, something went wrong.