From b7901aac76df753ec1213cb02bebea055965ee87 Mon Sep 17 00:00:00 2001
From: Ranke Johannes <johannes.ranke@agroscope.admin.ch>
Date: Mon, 30 Oct 2023 17:09:21 +0100
Subject: Update static docs

---
 vignettes/web_only/saem_benchmarks.rmd | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'vignettes/web_only/saem_benchmarks.rmd')

diff --git a/vignettes/web_only/saem_benchmarks.rmd b/vignettes/web_only/saem_benchmarks.rmd
index 6aeefd7f..ae61f153 100644
--- a/vignettes/web_only/saem_benchmarks.rmd
+++ b/vignettes/web_only/saem_benchmarks.rmd
@@ -40,7 +40,13 @@ saemix_version <- as.character(packageVersion("saemix"))
 R_version <- paste0(R.version$major, ".", R.version$minor)
 system_string <- paste0(operating_system, ", ", cpu_model, ", mkin ", mkin_version, ", saemix ", saemix_version, ", R ", R_version)
 
-benchmark_path = normalizePath("~/git/mkin/vignettes/web_only/saem_benchmarks.rda")
+
+
+if (dir.exists("~/git/mkin")) {
+  benchmark_path = normalizePath("~/git/mkin/vignettes/web_only/saem_benchmarks.rda")
+} else {
+  benchmark_path = normalizePath("~/projects/mkin/vignettes/web_only/saem_benchmarks.rda")
+}
 load(benchmark_path)
 
 # Initialization 14 November 2022
-- 
cgit v1.2.1

