Skip to content

Commit fa1bd44

Browse files
author
alex-omophub
committed
Fixing links and action
1 parent db2d683 commit fa1bd44

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,22 @@ jobs:
4545

4646
- name: Check URLs
4747
run: |
48-
urlchecker::url_check()
48+
result <- tryCatch({
49+
urlchecker::url_check()
50+
TRUE
51+
}, error = function(e) {
52+
message("URL check failed: ", conditionMessage(e))
53+
FALSE
54+
})
55+
if (!result) {
56+
quit(status = 1)
57+
}
4958
shell: Rscript {0}
5059

5160
- uses: r-lib/actions/check-r-package@v2
5261
with:
5362
upload-snapshots: true
5463
build_args: 'c("--no-manual", "--compact-vignettes=gs+qpdf")'
5564
args: 'c("--as-cran", "--no-manual")'
65+
error-on: '"warning"'
66+
check-dir: '"check"'

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ devtools::check()
272272
## Support
273273

274274
- [GitHub Issues](https://github.com/omopHub/omophub-R/issues)
275-
- [GitHub Discussions](https://github.com/omopHub/discussions)
276275
- Email: support@omophub.com
277276
- Website: [omophub.com](https://omophub.com)
278277

0 commit comments

Comments
 (0)