Commit 9cb646e5 authored by Dorchies David's avatar Dorchies David
Browse files

fix(ci): false positive revdepcheck

- raise an error if there is one dependent package without a "+" status

Fix #146
parent 4adab784
2 merge requests!73Merge branch 'dev' into 'master',!67Resolve "False positive reverse dependency check"
Pipeline #32600 passed with stage
in 5 minutes and 15 seconds
Showing with 1 addition and 0 deletions
+1 -0
......@@ -142,6 +142,7 @@ revdepcheck_devel:
script:
- R -q -e 'remotes::install_github("https://github.com/r-lib/revdepcheck")'
- R -q -e 'revdepcheck::revdep_check(num_workers = 2)'
- R -q -e 'stopifnot(all("+" == sapply(revdepcheck::revdep_summary(), "[[", "status")))'
- R -q -e 'if (any(sapply(revdepcheck::revdep_summary(), function(x) {any(x$cmp$change == 1)}))) stop()'
artifacts:
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment