Skip to content

Commit

Permalink
add check for restrictPlpDataSettings class if list
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Oct 7, 2024
1 parent 5b8260d commit f57367e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ExternalValidatePlp.R
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ createValidationDesign <-

# if restrictPlpDataSettings is a list make a list of designs with each
# settings
if (is.list(restrictPlpDataSettings)) {
if (is.list(restrictPlpDataSettings) && !inherits(restrictPlpDataSettings, "restrictPlpDataSettings"))) {
design <- lapply(restrictPlpDataSettings, function(x) {
design <- list(
targetId = targetId,
Expand Down

0 comments on commit f57367e

Please sign in to comment.