Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pkg loading: catch unexpected errors from pkg remotes *
In GHA R-CMD-check, it is sometimes observed that remotes::github_remote() or remotes::github_release() failed, which prevents loading the package even though api.github.com is available: Error: Error: package or namespace load failed for ‘n2khab’: .onAttach failed in attachNamespace() for 'n2khab', details: call: github_resolve_ref.github_release(meta$ref %||% ref, meta, host = host, error: No releases found for repo inbo/n2khab. Error: Error: loading failed Execution halted This commit will silently ignore this error, as this extra startup message is purely informative.
- Loading branch information