Skip to content

Commit

Permalink
use trim_url()
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jun 12, 2024
1 parent 328d7e6 commit 4b9abf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/meta_checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ meta_checks <- function(repo = "https://multiverse.r-multiverse.org") {
"_status"
)
listing <- file.path(
trim_trailing_slash(repo),
trim_url(repo),
"api",
paste0("packages?stream=true&fields=", paste(fields, collapse = ","))
)
Expand Down
2 changes: 1 addition & 1 deletion R/meta_packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
meta_packages <- function(repo = "https://multiverse.r-multiverse.org") {
fields <- c("Version", "Remotes", "RemoteSha")
listing <- file.path(
trim_trailing_slash(repo),
trim_url(repo),
"src",
"contrib",
paste0("PACKAGES.json?fields=", paste(fields, collapse = ","))
Expand Down

0 comments on commit 4b9abf4

Please sign in to comment.