Skip to content

Commit

Permalink
Use rlang standalone type check (#265)
Browse files Browse the repository at this point in the history
* Import standalone type check

* Remove custom `check_string()`

* Remove custom `check_number()`

* Remove unused `check_verbosity()`

* Refactor `check_request/response()`

* Replace two more custom checks

* Fix example for `oauth_token()`
  • Loading branch information
mgirlich authored Aug 8, 2023
1 parent 2abd38b commit ad5ba7c
Show file tree
Hide file tree
Showing 24 changed files with 599 additions and 103 deletions.
2 changes: 1 addition & 1 deletion R/curl.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl_translate <- function(cmd) {
abort("Must supply `cmd`")
}
} else {
check_string(cmd, "`cmd`")
check_string(cmd)
clip <- FALSE
}
data <- curl_normalize(cmd)
Expand Down
Loading

0 comments on commit ad5ba7c

Please sign in to comment.