Skip to content

Commit

Permalink
One more example
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 17, 2024
1 parent e012549 commit 5da11cb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions R/jobs.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ redeploy_everything <- function(){
})
}

redeploy_one_for_each <- function(){
files <- jsonlite::stream_in(url("https://r-universe.dev/stats/files?type=src&fields=_buildurl"))
files <- files[as.Date(files$published) > '2024-11-13',]
files <- files[order(files$published, decreasing = TRUE),]
files <- files[!duplicated(files$user),]
urls <- files[['_buildurl']]
lapply(urls, function(url){
message(url)
tryCatch(rerun_one_job(url, 'Deploy to package server', skip_success = FALSE), error = message)
})
}

rebuild_ropensci_docs <- function(){
rerun_one_job_for_universe('ropensci', 'pkgdown')
}
Expand Down

0 comments on commit 5da11cb

Please sign in to comment.