From 484fce9ef30f2116826b2c3f9600c339f669b8da Mon Sep 17 00:00:00 2001 From: Carine Rey <carine.rey@ens-lyon.fr> Date: Fri, 9 Sep 2022 11:09:03 +0200 Subject: [PATCH] fix error with klippy --- session_1/session_1.Rmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/session_1/session_1.Rmd b/session_1/session_1.Rmd index 43deda3..029b813 100644 --- a/session_1/session_1.Rmd +++ b/session_1/session_1.Rmd @@ -23,12 +23,15 @@ knitr::opts_chunk$set(echo = TRUE) knitr::opts_chunk$set(comment = NA) ``` -```{r klippy, echo=FALSE, include=FALSE} +```{r klippy_install, echo=FALSE, include=FALSE} if (! require("klippy")) { install.packages("remotes") remotes::install_github("rlesur/klippy") } +``` + +```{r klippy, echo=FALSE, include=TRUE} klippy::klippy( position = c('top', 'right'), color = "white", @@ -36,6 +39,7 @@ klippy::klippy( tooltip_success = 'Copied !') ``` + # Introduction The goal of this practical is to familiarize yourself with R and the RStudio -- GitLab