Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(tentatively) adding testthat for as_api_object -- need to check argu…
…ments? (#86) * small change to documentation for as_api_object * Tweak as_api_object documentation I originally wrote this for lists, but it also works for character vectors, and may eventually expand to other objects like data frames. Thanks for catching the mismatch! Hopefully this fix makes as much sense as this can! * testthat for as_api_object * Update tests to check for as_api_object-specific things. Good idea, but the errors were being generated by base R/weren't saying anything useful (they were the general "missing argument" messages). I've updated them to focus on the things as_api_object does specifically, to separate a failure of this function from all the places it's used within the package. --------- Co-authored-by: Jon Harmon <[email protected]>
- Loading branch information