From aac7c0515e9d72ed0da1fd178d90b7befb790741 Mon Sep 17 00:00:00 2001 From: "M.Redondo" Date: Tue, 15 Oct 2024 10:57:58 +0200 Subject: [PATCH] modified chunk with num_pkg --- slide_r_intro.Rmd | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/slide_r_intro.Rmd b/slide_r_intro.Rmd index 76040bfb..e9ba2404 100644 --- a/slide_r_intro.Rmd +++ b/slide_r_intro.Rmd @@ -216,15 +216,22 @@ e.g. an agent-based simulation is a challenge name: num_packages # Ecosystem of R packages -
-```{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 ``` +
+ +
+ ---