Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninformative deployments() error when no accounts registered #261

Closed
hadley opened this issue Mar 26, 2018 · 0 comments
Closed

Uninformative deployments() error when no accounts registered #261

hadley opened this issue Mar 26, 2018 · 0 comments

Comments

@hadley
Copy link
Member

hadley commented Mar 26, 2018

i.e. when accounts() returns NULL

> rsconnect::deployments("tests/testthat/tutorials-inst/inst/tutorials/test-1/")
Error in if (nrow(matchingAccounts) == 0) next :
  argument is of length zero

(Sorry this isn't a reprex, but the code path causing the error in deployments() looks fairly straightforward. Alternatively, maybe accounts() should always return a data frame)

hadley added a commit to r-lib/pkgdown that referenced this issue Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants