Skip to content

Commit f4bf4ea

Browse files
committed
change error to warning for now
1 parent e84d888 commit f4bf4ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/sc_get_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ sc_get_data <- function(comid = NULL,
127127
items = gsub("\n","",items)
128128
params <- sc_get_params(param='metric_names')
129129
if (metric != 'all' & !all(items %in% params)){
130-
stop("One or more of the provided metric names do not match the expected metric names in StreamCat. Use sc_get_params(param='name') to list valid metric names for StreamCat")
130+
warning("One or more of the provided metric names do not match the expected metric names in StreamCat. Use sc_get_params(param='name') to list valid metric names for StreamCat")
131131
}
132132
df <- req |>
133133
httr2::req_method("POST") |>

0 commit comments

Comments
 (0)