From 6209a870652462a47d9510c85f4fa6172cb8c392 Mon Sep 17 00:00:00 2001 From: Emma Rand Date: Thu, 5 Oct 2023 19:32:01 +0100 Subject: [PATCH] attempt to fix ijtiff issue --- .github/workflows/quarto-gh-pages-html.yaml | 2 +- core/week-2/workshop.qmd | 17 +++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/quarto-gh-pages-html.yaml b/.github/workflows/quarto-gh-pages-html.yaml index a944861..3b454b2 100644 --- a/.github/workflows/quarto-gh-pages-html.yaml +++ b/.github/workflows/quarto-gh-pages-html.yaml @@ -25,7 +25,7 @@ jobs: sudo apt-get update -y && sudo apt-get install -y libcurl4-openssl-dev sudo apt-get install -y libharfbuzz-dev sudo apt-get install -y libfribidi-dev - sudo apt-get -y install libwebp-dev + - uses: r-lib/actions/setup-renv@v2 diff --git a/core/week-2/workshop.qmd b/core/week-2/workshop.qmd index bdfbd55..588306f 100644 --- a/core/week-2/workshop.qmd +++ b/core/week-2/workshop.qmd @@ -35,11 +35,11 @@ In this workshop you will [control_merged.tif](data/control_merged.tif) -```{r} +```r library(ijtiff) img <- read_tif("data/control_merged.tif") ``` -```{r} +```r img ``` @@ -54,7 +54,7 @@ img - we might normally call this a multi-dimensional array: x and y coordinates of the pixels are 2 dimensions, the channel is the third dimension and time is the forth dimension -```{r} +```r display(img) ``` @@ -302,18 +302,7 @@ You're finished! [Consolidate](study_after_workshop.qmd) -# The Code file -These contain all the code needed in the workshop even where it is not -visible on the webpage. - -The [workshop.qmd](workshop.qmd) file is the file I use to compile the -practical. Qmd stands for Quarto markdown. It allows code and ordinary -text to be interleaved to produce well-formatted reports including -webpages. Right-click on the link and choose Save-As to download. You -will be able to open the Qmd file in RStudio. Alternatively, [View in -Browser](https://github.com/3mmaRand/). Coding and thinking answers are -marked with `#---CODING ANSWER---` and `#---THINKING ANSWER---` Pages made with R [@R-core], Quarto [@allaire2022], `knitr` [@knitr], `kableExtra` [@kableExtra]