Published March 12, 2026
| Version v.1.1.1
Software
Open
sharksmhi/SHARK4R: v.1.1.1
Description
CRAN compliance fixes
- All vignettes that call external APIs now use a hidden availability check followed by
try()-protected execution chunks, so transient server errors (502, 503, 500) never cause vignette rebuild failures. The user-facing code shown on pkgdown remains clean and uncluttered. - Added
skip_if_offline()andskip_if_resource_unavailable()guards to previously unprotected tests for deprecated WoRMS wrappers (match_wormstaxa,update_worms_taxonomy) and the empty/NA input edge case (match_worms_taxa(c("", NA))). - Added
skip_on_cran()to deprecated WoRMS wrapper tests, since the base-URL availability check can pass while individual API endpoints return server errors. - Added
skip_if_offline()to the"wrong url fails"test intest-xylookup.R.
What's Changed
- fix: safeguard all vignettes and remaining tests against transient AP… by @anderstorstensson in https://github.com/sharksmhi/SHARK4R/pull/53
Full Changelog: https://github.com/sharksmhi/SHARK4R/compare/v.1.1.0...v.1.1.1
Files
sharksmhi/SHARK4R-v.1.1.1.zip
Files
(990.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:9282eaf69a97ef906a2d4f1cef2ebd06
|
990.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/sharksmhi/SHARK4R/tree/v.1.1.1 (URL)
Software
- Repository URL
- https://github.com/sharksmhi/SHARK4R