From 96f1367080d2a9d47f8fb3d1d39d9059e245d8f7 Mon Sep 17 00:00:00 2001 From: Don van den Bergh Date: Wed, 14 Feb 2024 15:18:08 +0100 Subject: [PATCH] use 'index-jasp.html' (#40) * use 'index-jasp.html' * bump version --- DESCRIPTION | 2 +- R/view.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index a5aea05..4f6b915 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: jaspTools Type: Package Title: Helps preview and debug JASP analyses -Version: 0.18.3 +Version: 0.18.3.9000 Author: Authors@R: c( person("Tim", "de Jong", role = "aut"), person("Don", "van den Bergh", role = c("ctb", "cre"), email = "d.vandenbergh@uva.nl")) diff --git a/R/view.R b/R/view.R index da57573..146571b 100644 --- a/R/view.R +++ b/R/view.R @@ -165,7 +165,7 @@ createHtmlFile <- function(json) { htmlDir <- getTempOutputLocation("html") moveJaspHtmlToDir(htmlDir) - templateHtmlFile <- file.path(htmlDir, "index.html") + templateHtmlFile <- file.path(htmlDir, "index-jasp.html") html <- readChar(templateHtmlFile, file.size(templateHtmlFile)) insertedJS <- paste0(