Skip to content

Commit

Permalink
add R CMD check workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
SaranjeetKaur committed Nov 10, 2024
1 parent 2d9f0fa commit e5a48ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ git push --set-upstream origin main

- Add a GitHub action workflow to render Rmarkdown using `usethis::use_github_action("render-rmarkdown")`.
- Add another action to lint your package using `usethis::use_github_action("lint")`.
- To add workflow for `R CMD check`, use `usethis::use_github_action()` and then select 1 (first option).
- Add a `R CMD-check` badge using `usethis::use_github_actions_badge()`.
- To add a package to the `DESCRIPTION` file, use `usethis::use_package("pkgname")`.
- Customise the package website by editing the `_pkgdown.yml` file. For example, you can add a lightswitch and GitHub repository button to the navbar:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ repo](https://happygitwithr.com/existing-github-last.html#create-and-connect-a-g
`usethis::use_github_action("render-rmarkdown")`.
- Add another action to lint your package using
`usethis::use_github_action("lint")`.
- To add workflow for `R CMD check`, use `usethis::use_github_action()`
and then select 1 (first option).
- Add a `R CMD-check` badge using `usethis::use_github_actions_badge()`.
- To add a package to the `DESCRIPTION` file, use
`usethis::use_package("pkgname")`.
Expand Down

0 comments on commit e5a48ad

Please sign in to comment.