Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid mentioning deprecated use_github_actions() #1048

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dependencies-in-practice.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ https://github.com/wch/r-source/blob/efacf56dcf2f880b9db8eafa28d49a08d56e861e/sr
-->
```
The use of `Config/Needs/*` is not directly related to devtools.
It's more accurate to say that it's associated with continuous integration workflows made available to the community at <https://github.com/r-lib/actions/> and exposed via functions such as `usethis::use_github_actions()`.
It's more accurate to say that it's associated with continuous integration workflows made available to the community at <https://github.com/r-lib/actions/> and exposed via functions such as `usethis::use_github_action()`.
A `Config/Needs/*` field tells the [`setup-r-dependencies`](https://github.com/r-lib/actions/tree/HEAD/setup-r-dependencies#readme) GitHub Action about extra packages that need to be installed.

`Config/Needs/website` is the most common and it provides a place to specify packages that aren't a formal dependency, but that must be present in order to build the package's website (@sec-website).
Expand Down
2 changes: 1 addition & 1 deletion other-markdown.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ A few things to note about this starter `README.Rmd`:

- `usethis::use_coverage()` reports test coverage.

- `use_github_actions()` and friends report the `R CMD check` status of your development package.
- `usethis::use_github_action("check-standard")` and friends report the `R CMD check` status of your development package.

- It includes placeholders where you should provide code for package installation and for some basic usage.

Expand Down
Loading