Skip to content

Commit

Permalink
actually removed stringi...
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Sep 22, 2023
1 parent caef700 commit 44450c5
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions R/has.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' ada_has_credentials("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_credentials <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) vapply(url, function(x) Rcpp_ada_has_credentials(x, nchar(x, type = "bytes")), logical(1)), logical(1))
}

Expand All @@ -16,7 +16,7 @@ ada_has_credentials <- function(url) {
#' ada_has_empty_hostname("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_empty_hostname <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_empty_hostname(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -27,7 +27,7 @@ ada_has_empty_hostname <- function(url) {
#' ada_has_hostname("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_hostname <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_hostname(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -38,7 +38,7 @@ ada_has_hostname <- function(url) {
#' ada_has_non_empty_username("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_non_empty_username <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_non_empty_username(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -49,7 +49,7 @@ ada_has_non_empty_username <- function(url) {
#' ada_has_non_empty_password("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_non_empty_password <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_non_empty_password(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -60,7 +60,7 @@ ada_has_non_empty_password <- function(url) {
#' ada_has_port("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_port <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_port(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -71,7 +71,7 @@ ada_has_port <- function(url) {
#' ada_has_hash("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_hash <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_hash(x, nchar(x, type = "bytes")), logical(1))
}

Expand All @@ -82,6 +82,6 @@ ada_has_hash <- function(url) {
#' ada_has_search("https://user_1:[email protected]:8080/dir/../api?q=1#frag")
#' @export
ada_has_search <- function(url) {
url <- stringi::stri_enc_toutf8(url)
url <- utf8::as_utf8(url)
vapply(url, function(x) Rcpp_ada_has_search(x, nchar(x, type = "bytes")), logical(1))
}
2 changes: 1 addition & 1 deletion man/ada_has_credentials.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_empty_hostname.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_hash.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_hostname.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_non_empty_password.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_non_empty_username.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_port.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_has_search.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ada_url_parse.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 44450c5

Please sign in to comment.