Skip to content

Commit

Permalink
Remove center tag for pics in slides 20240929
Browse files Browse the repository at this point in the history
  • Loading branch information
damianooldoni committed Oct 23, 2024
1 parent 10b74d2 commit 6862ea0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
---
class: left, top

# Recp: style your functions
# Recap: style your functions

- [INBO Styleguide for R code](https://inbo.github.io/tutorials/tutorials/styleguide_r_code/): the official guide followed by us at INBO.
- The [tidyverse style guide](https://style.tidyverse.org/documentation.html): a widely used and generic enough guide. All tidyverse packcages follow it.
Expand Down Expand Up @@ -183,10 +183,10 @@

If a function is like a recipe, a package is like a well-organised bundle of recipes, a cookbook!

.center[![:scale 60%]({{ site.baseurl}}/assets/images/20241029/20241029_cookbook.png)]
![:scale 60%]({{ site.baseurl}}/assets/images/20241029/20241029_cookbook.png)

<br>
<small>[Picture](https://pixabay.com/nl/photos/kookboek-oud-recepten-voorbereiding-982661/) by [Petra](https://pixabay.com/nl/users/ptra-359668/) on [pixabay](https://pixabay.com/en/).</small>
<small>Credits for the [picture](https://pixabay.com/nl/photos/kookboek-oud-recepten-voorbereiding-982661/): [Petra](https://pixabay.com/nl/users/ptra-359668/) on [pixabay](https://pixabay.com/en/).</small>


---
Expand All @@ -198,7 +198,7 @@

Go to `File` -> `New Project` -> `New Directory` -> `R package using devtools` (see screenshot).

.center[![:scale 80%]({{ site.baseurl}}/assets/images/20241029_select_project_type.png)]
![:scale 80%]({{ site.baseurl}}/assets/images/20241029_select_project_type.png)

---
class: left, top
Expand All @@ -211,7 +211,7 @@
- `Create project as subdirectory of`: place it where you prefer, e.g. in your `src/20241029/` subdirectory.*
- Yes, select `"Open in new session"`, always a good idea.

.center[![:scale 80%]({{ site.baseurl}}/assets/images/20241029/20241029_create_project.png)]
![:scale 80%]({{ site.baseurl}}/assets/images/20241029/20241029_create_project.png)

---
class: left, top
Expand All @@ -223,7 +223,7 @@
- Click on the `Build` pane.
- Click on `Install` (see screenshot below). It will install the package, restart R and load the package (run `library(fiRst)`) automatically.

.center[![:scale 60%]({{ site.baseurl}}/assets/images/20241029/20241029_build_install.png)]
![:scale 60%]({{ site.baseurl}}/assets/images/20241029/20241029_build_install.png)


---
Expand Down

0 comments on commit 6862ea0

Please sign in to comment.