Skip to content

Commit

Permalink
Initialize webpage-quarto
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleSoraggi authored Feb 6, 2024
0 parents commit a2f94eb
Show file tree
Hide file tree
Showing 42 changed files with 1,435 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
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
49 changes: 49 additions & 0 deletions .gitignore
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/
13 changes: 13 additions & 0 deletions DESCRIPTION
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
Loading

0 comments on commit a2f94eb

Please sign in to comment.