aboutsummaryrefslogtreecommitdiff
path: root/vignettes/web_only/benchmarks.rmd
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2023-10-30 17:09:21 +0100
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2023-10-30 17:09:21 +0100
commitb7901aac76df753ec1213cb02bebea055965ee87 (patch)
treee907e87d81aa07f19e8387acca612026337add75 /vignettes/web_only/benchmarks.rmd
parent193b46af027c7b30abf7cf215d77517370e5fb2c (diff)
Update static docs
Diffstat (limited to 'vignettes/web_only/benchmarks.rmd')
-rw-r--r--vignettes/web_only/benchmarks.rmd7
1 files changed, 6 insertions, 1 deletions
diff --git a/vignettes/web_only/benchmarks.rmd b/vignettes/web_only/benchmarks.rmd
index 132e5062..6231d14e 100644
--- a/vignettes/web_only/benchmarks.rmd
+++ b/vignettes/web_only/benchmarks.rmd
@@ -55,7 +55,12 @@ mkin_version <- as.character(packageVersion("mkin"))
R_version <- paste0(R.version$major, ".", R.version$minor)
system_string <- paste0(operating_system, ", ", cpu_model, ", mkin ", mkin_version, ", R ", R_version)
-benchmark_path = normalizePath("~/git/mkin/vignettes/web_only/mkin_benchmarks.rda")
+if (dir.exists("~/git/mkin")) {
+ benchmark_path = normalizePath("~/git/mkin/vignettes/web_only/mkin_benchmarks.rda")
+} else {
+ benchmark_path = normalizePath("~/projects/mkin/vignettes/web_only/mkin_benchmarks.rda")
+}
+
load(benchmark_path)
# Used for reformatting the data on 2022-06-30

Contact - Imprint