Skip to content

Commit

Permalink
Update packages.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues authored Apr 1, 2024
1 parent d438c23 commit 6a3f406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ Then come the `@importFrom` statements. This is where you list dependencies:
This is important, because the statements will write the dependencies into the
package’s `NAMESPACE` file. This file is important, because any function defined
there will be available to your package’s functions when you load the package.
So if your function use `dplyr::mutate()` for example, your package needs to
So if your function uses `dplyr::mutate()` for example, your package needs to
know where to look for `mutate()`. This is where the `NAMESPACE` file comes into
play. Take the opportunity to list the dependencies of your function to review
them: maybe you're using a package for a single dependency that you could easily
Expand Down

0 comments on commit 6a3f406

Please sign in to comment.