From 7dd87b4515c385b1daedd57243d49bb682728eac Mon Sep 17 00:00:00 2001 From: maltelueken Date: Mon, 6 Nov 2023 16:08:36 +0100 Subject: [PATCH] Remove jaspSem as a dependency --- DESCRIPTION | 6 ++---- R/classicProcess.R | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index cb54356..db09873 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -15,11 +15,9 @@ Imports: ggraph, grid, jaspBase, - jaspGraphs, - jaspSem + jaspGraphs Suggests: testthat Remotes: jasp-stats/jaspBase, - jasp-stats/jaspGraphs, - jasp-stats/jaspSem + jasp-stats/jaspGraphs diff --git a/R/classicProcess.R b/R/classicProcess.R index 88c34f7..6425aac 100644 --- a/R/classicProcess.R +++ b/R/classicProcess.R @@ -1083,8 +1083,7 @@ ClassicProcess <- function(jaspResults, dataset = NULL, options) { )) if (inherits(fittedModel, "try-error")) { - errmsg <- gettextf("Estimation failed\nMessage:\n%s", attr(fittedModel, "condition")$message) - return(jaspSem:::.decodeVarsInMessage(names(dataset), errmsg)) + return(gettextf("Estimation failed\nMessage:\n%s", attr(fittedModel, "condition")$message)) } if (options$errorCalculationMethod == "bootstrap") {