You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When R/api.R is empty, calling api("_server.yml") fails with the following
Error in seq_len(which(grepl("^(?!#('|\\*))", lines, perl = TRUE))[1] - 1) :
argument must be coercible to a non-negative integer
The error is not very informative and makes it hard for new users to understand what is wrong. In this case, the root cause is simply that R/api.R does not define any routes.
It might be helpful to return a clearer error message to improve the experience for new users.
Activity