Skip to content

Commit 438aa12

Browse files
use subset() to avoid temp crandb
1 parent 1af48e6 commit 438aa12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/cran-status-check.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@ jobs:
4444
if: steps.check-issues.outputs.should-run == 'true'
4545
shell: Rscript {0}
4646
run: |
47-
crandb <- tools::CRAN_package_db()
48-
4947
pkgname <- drop(read.dcf("DESCRIPTION", "Package"))
5048
51-
deadline <- crandb[crandb$Package == pkgname, "Deadline"]
49+
deadline <- subset(tools::CRAN_package_db(), Package == pkgname, "Deadline", drop=TRUE)
5250
5351
if (is.na(deadline)) {
5452
quit()

0 commit comments

Comments
 (0)