Contact Details
No response
What happened?
Currently using sort to determine if any falsey conditions exist, all would be superior
|
if (output == "SECONDARY" | output == "S") { |
|
if (!sort(select %in% secondaryNames)[1]) { |
|
stop("Selected variables are not in the outputs") |
|
} |
|
} |
|
if (output == "PRIMARY" | output == "P") { |
|
if (!sort(select %in% primaryNames)[1]) { |
|
stop("Selected variables are not in the outputs") |
|
} |
|
} |
|
if (output == "ALL" | output == "A") { |
|
if (!sort(select %in% allNames)[1]) { |
|
stop("Selected variables are not in the outputs") |
|
} |
|
} |
|
} |
Relevant log output
No response
Approvals Process
Contact Details
No response
What happened?
Currently using sort to determine if any falsey conditions exist,
allwould be superiorcffdrs_r/R/fbpRaster.r
Lines 342 to 357 in 23dc442
Relevant log output
No response
Approvals Process