We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d44f4 commit a435e37Copy full SHA for a435e37
R/fishset_design.R
@@ -111,8 +111,11 @@ fishset_design <- function(formula,
111
112
# Setup and validate data -----------------------------------------------------------------------
113
# Check if design file exists
114
-
115
- # TODO: ADD TRY CATCH!!!!!!!!!!!
+ design_names <- tryCatch({
+ model_design_list(project)
116
+ }, error = function(cond) {
117
+ list()
118
+ })
119
120
design_names <- model_design_list(project)
121
if (model_name %in% design_names) {
0 commit comments