This PR slightly improves the error handling of generate_package_table().
I'm still not totally happy with this set-up, but it's better than nothing.
Note: There are no checks for existence of the R CMD check badges, since I am just using glue to create that link, and not fetching anything using gh. However, if it doesn't exist, the default behaviour seems fine as it just renders as a broken link, see reprex below.
This PR slightly improves the error handling of
generate_package_table()
. I'm still not totally happy with this set-up, but it's better than nothing.Note: There are no checks for existence of the R CMD check badges, since I am just using
glue
to create that link, and not fetching anything usinggh
. However, if it doesn't exist, the default behaviour seems fine as it just renders as a broken link, see reprex below.Relates to https://github.com/RMI-PACTA/pacta.sit.rep/pull/6#issuecomment-2022588015 (No related issue)
bff9bad
41b878a
main
branch not found.Created on 2024-03-27 with reprex v2.1.0