File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -297,21 +297,16 @@ parsePreloadDataFromDescriptionQml <- function(analysisName) {
297
297
298
298
description <- parseDescriptionQmlFromAnalysisName(analysisName )
299
299
300
- # is the preloadData globally set to TRUE?
300
+ # is preloadData globally set to TRUE?
301
301
preloadDataGlobal <- isTRUE(description [[" Description" ]][[" preloadData" ]])
302
- # is the preloadData even set for this specific analysis?
302
+ # is preloadData even set for this specific analysis?
303
303
specifiedPreloadData <- " preloadData" %in% names(description [[analysisName ]])
304
- # is the preloadData set to TRUE for this specific analysis?
304
+ # is preloadData set to TRUE for this specific analysis?
305
305
preloadDataAnalysis <- specifiedPreloadData && isTRUE(description [[analysisName ]][[" preloadData" ]])
306
- # preloadData if set to TRUE for the analysis or if set globally to TRUE and not set for the analysis
306
+ # if preloadData set to TRUE for the analysis, or if set globally to TRUE and not set for the analysis
307
307
preloadData <- preloadDataAnalysis || (preloadDataGlobal && ! specifiedPreloadData )
308
308
309
- # global analysis -> result warning
310
- # preloadData TRUE TRUE -> TRUE
311
- # TRUE FALSE -> FALSE
312
- # FALSE TRUE -> TRUE
313
- # FALSE FALSE -> FALSE
314
-
309
+ # show a warning but only if the preloadData is not set for the analysis
315
310
if (! preloadData && ! specifiedPreloadData )
316
311
lifecycle :: deprecate_warn(
317
312
when = " 0.19.2" ,
You can’t perform that action at this time.
0 commit comments