diff --git a/packages.qmd b/packages.qmd index a1f66b6..fb1cef6 100644 --- a/packages.qmd +++ b/packages.qmd @@ -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