Skip to content

Commit

Permalink
Dependency setup added
Browse files Browse the repository at this point in the history
  • Loading branch information
fpahlke committed Jul 1, 2024
1 parent 4355353 commit 22a17d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/quarto-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Install R Packages
run: |
R -e 'install.packages(c("rmarkdown", "checkmate"), repos="https://cloud.r-project.org")'
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2

Expand Down
9 changes: 0 additions & 9 deletions slides/03_workflow.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -490,15 +490,6 @@ to validate input arguments.

Example:

```{r}
#| echo: false
#| eval: true
if (!require(checkmate)) {
install.packages("checkmate")
}
```


```{r, echo = TRUE, eval = FALSE}
playWithAssertions <- function(n1) {
checkmate::assertInt(n1, lower = 1)
Expand Down
8 changes: 0 additions & 8 deletions slides/04_quality.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,6 @@ getMean(c("a", "b", "c"))

## Example: CCR#7

```{r}
#| echo: false
#| eval: true
if (!require(checkmate)) {
install.packages("checkmate")
}
```

```{r, echo = TRUE, eval = FALSE}
#| code-line-numbers: "3,9,15"
#| style: font-size:0.9em!important;
Expand Down

0 comments on commit 22a17d8

Please sign in to comment.