Skip to content

Commit

Permalink
modified chunk with num_pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
RedondoMA committed Oct 15, 2024
1 parent 685c364 commit aac7c05
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions slide_r_intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,22 @@ e.g. an agent-based simulation is a challenge
name: num_packages

# Ecosystem of R packages

<br>

```{r num_pkgs, echo=FALSE, fig.align='center', fig.height=7, fig.width=9, cache=TRUE, message=FALSE}

```{r num_pkgs, eval=FALSE, fig.align='center', fig.height=7, fig.width=9, message=FALSE, cache=TRUE, include=FALSE}
#I mute this chunk because it gives a readLines error in the 2024 course
#I add the figure instead below the chunk
#Maybe modify in the future
data <- mkteachr::update_repos_data()
gg <- mkteachr::plot_repos_data(data)
gg
```

<div style="text-align: center;">
<img src="data/slide_intro/num_pkgs.jpg" style="width:80%;">
</div>

<!-- --------------------- Do not edit this and below --------------------- -->

---
Expand Down

0 comments on commit aac7c05

Please sign in to comment.