Skip to content

Commit fe08d48

Browse files
committed
fix replications being removed
1 parent cf62401 commit fe08d48

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

R/doeFactorial.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#' @export
1919
doeFactorial <- function(jaspResults, dataset, options, ...) {
2020

21+
# 'repetitions' UI control is currently commented out in the QML; default to 0 so the
22+
# summary table and design generation don't receive NULL (see doeFactorial.qml).
23+
if (is.null(options[["repetitions"]]))
24+
options[["repetitions"]] <- 0L
25+
2126
selectedRow <- options[["selectedRow"]]
2227
maximumRow <- .getMaximumRow(options)
2328

0 commit comments

Comments
 (0)