Skip to content
Merged
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ Imports:
stringr,
testthat (>= 3.2.2),
vdiffr (>= 1.0.7)
Suggests:
ggplot2
RoxygenNote: 7.3.3
Roxygen: list(markdown = TRUE)
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by roxygen2: do not edit by hand

S3method(expect_doppelganger_fallback,default)
S3method(expect_doppelganger_fallback,ggplot)
S3method(extractData,AssignedVariablesList)
S3method(extractData,CIField)
S3method(extractData,CheckBox)
Expand Down
5 changes: 3 additions & 2 deletions R/options.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
#' left empty.
#' @examples
#' jaspOptions <- analysisOptions("~/Documents/someFile.jasp")
#' options <- jaspOptions[[1]] # if there are multiple analyses in the .jasp files you need to select one
#' # if there are multiple analyses in the .jasp files you need to select one
#' options <- jaspOptions[[1]]
#'
#' options <- analysisOptions("BinomialTest")
#' options[["variables"]] <- "contBinom"
Expand Down Expand Up @@ -495,7 +496,7 @@ parsePreloadDataFromDescriptionQml <- function(analysisName) {
# is preloadData even set for this specific analysis?
specifiedPreloadDataLocal <- "preloadData" %in% names(description[[analysisName]])
# is preloadData set to TRUE for this specific analysis?

preloadDataAnalysis <- specifiedPreloadDataLocal && isTRUE(description[[analysisName]][["preloadData"]])
# if preloadData set to TRUE for the analysis, or if set globally to TRUE and not set for the analysis
preloadData <- (specifiedPreloadDataLocal && preloadDataAnalysis) || (!specifiedPreloadDataLocal && preloadDataGlobalSpecified && preloadGlobalValue)
Expand Down
Loading
Loading