Fix loading common.R from other gitlab repo
Change-Id: I55775a70fc808bef5b6ab9177cc0922de487e717
diff --git a/examples/ids.Rmd b/examples/ids.Rmd
index 5c53182..275fb0e 100644
--- a/examples/ids.Rmd
+++ b/examples/ids.Rmd
@@ -30,9 +30,14 @@
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE)
library(idsThemeR)
+library(RKorAPClient)
library(highcharter)
library(tidyverse)
-source("https://gitlab.ids-mannheim.de/ICC/2023-07-20-ICC-ICLC10/-/raw/master/R/common.R", verbose=T)
+if (file.exists("/tmp/common.h")) {
+ source("/tmp/common.h")
+} else {
+ source("https://gitlab.ids-mannheim.de/ICC/2023-07-20-ICC-ICLC10/-/raw/master/R/common.R")
+}
```
## R Markdown