From 064cb094c74078162ae3339c5cdee8888dbe2309 Mon Sep 17 00:00:00 2001 From: Dimitri Falk Date: Sun, 3 Mar 2024 14:22:28 +0100 Subject: [PATCH] doc(calc_designstorm): assertion --- R/calc_designstorm.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/R/calc_designstorm.R b/R/calc_designstorm.R index 1c2ae67..5f0337f 100644 --- a/R/calc_designstorm.R +++ b/R/calc_designstorm.R @@ -34,15 +34,12 @@ calc_designstorm <- function(x = NULL, checkmate::assert_tibble(x) allowed_d <- attr(x, "durations_min") - checkmate::assert_numeric(d, len = 1) checkmate::assert_choice(d, allowed_d) allowed_tn <- attr(x, "returnperiods_a") - checkmate::assert_numeric(tn, len = 1) checkmate::assert_choice(tn, allowed_tn) allowed_type <- c("EulerI", "EulerII") - checkmate::assert_character(type, len = 1) checkmate::assert_choice(type, allowed_type) # pre-processing -------------------------------------------------------------