Skip to content

Commit

Permalink
Merge packages APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 30, 2024
1 parent aab5cee commit 0b5062e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/delete.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ delete_from_server <- function(universe){
lapply(deleted, function(package){
message("Deleting: ", package)
h <- curl::new_handle(customrequest = 'DELETE', userpwd = userpwd)
url <- paste0(cranlike_url, '/packages/', package)
url <- paste0(cranlike_url, '/api/packages/', package)
out <- parse_res(curl::curl_fetch_memory(url, handle = h))
stopifnot(out$Package == package)
})
Expand Down

0 comments on commit 0b5062e

Please sign in to comment.