bcgov / bcgovr

An R package to automate set up and sharing of R projects in bcgov GitHub following bcgov guidelines
Apache License 2.0
34 stars 5 forks source link

Update R-CMD-Check badge url to reflect GHAction #74

Closed stephhazlitt closed 1 month ago

stephhazlitt commented 1 month ago

See bcdata or bcmaps yaml for examples.

boshek commented 1 month ago

Hmm... is this not working currently? https://github.com/bcgov/bcgovr/blob/master/.github/workflows/R-CMD-check.yaml

jonjunduan commented 1 month ago

The badge link on the README.md is not working.

https://github.com/bcgov/bcdata/actions/workflows/R-CMD-check.yaml or https://github.com/bcgov/bcgovr/actions does not show the action results.

The https://github.com/bcgov/bcdata/actions/workflows/R-CMD-check.yaml seems to be working. It does have a schedule:

  schedule:
    - cron: '30 4 * * 1'

in the https://github.com/bcgov/bcdata/blob/main/.github/workflows/R-CMD-check.yaml #

stephhazlitt commented 1 month ago

Hmm... is this not working currently? https://github.com/bcgov/bcgovr/blob/master/.github/workflows/R-CMD-check.yaml

Oof, I just clicked on the not working README badge and assumed. Updated the issue 😳

jonjunduan commented 1 month ago

When R-CMD-check.yaml is triggered in GitHub action, it fails in MacOS, and has some deprecated steps. We may update it with new examples from R: https://github.com/r-lib/actions/blob/v2/examples/pkgdown.yaml

ateucher commented 1 month ago

@stephhazlitt if you call usethis::use_github_action_check_standard() and let it do its thing, it should overwrite what's there and setup an action that "just works".

stephhazlitt commented 1 month ago

Thanks @ateucher!