File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11Package: dashboard
22Title: What the Package Does (One Line, Title Case)
3- Version: 0.2.2.087
3+ Version: 0.2.2.088
44Authors@R:
55 person(given = "First",
66 family = "Last",
Original file line number Diff line number Diff line change 66 "name" : " dashboard: What the Package Does (One Line, Title Case)" ,
77 "codeRepository" : " https://github.com/ropensci-review-tools/dashboard" ,
88 "license" : " https://spdx.org/licenses/MIT" ,
9- "version" : " 0.2.2.87 " ,
9+ "version" : " 0.2.2.88 " ,
1010 "programmingLanguage" : {
1111 "@type" : " ComputerLanguage" ,
1212 "name" : " R" ,
Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ req <- httr2::request (u_runs) |>
4848resp <- httr2::req_perform (req)
4949body <- httr2::resp_body_json (resp)$workflow_runs
5050index <- which (vapply (body [[1]], function (i) !is.list (i) && !is.null (i), logical (1L)))
51- index <- index [-grep ("previous", names (index))]
51+ index_prev <- grep ("previous", names (index))
52+ if (length (index_prev) > 0L) {
53+ index <- index [-index_prev]
54+ }
5255run_dat <- do.call (rbind, lapply (body, function (b) as.data.frame (b [index])))
5356# run_dat <- run_dat [which (run_dat$conclusion == "success"), ]
5457
You can’t perform that action at this time.
0 commit comments