Skip to content

Commit

Permalink
Fix pkg name (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
salim-b authored Jul 16, 2020
1 parent 148001f commit 406b69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namespace.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ To use classes defined in another package, place `@importClassesFrom package Cla

To use generics defined in another package, place `@importMethodsFrom package GenericA GenericB ...` next to the methods that use the imported generics.

Since S4 is implemented in the methods package, you need to make sure it's available. This is easy to overlook because while the method package is always available in the search path when you're working interactively, it's not automatically loaded by `Rscript`, the tool often used to run R from the command line.
Since S4 is implemented in the methods package, you need to make sure it's available. This is easy to overlook because while the methods package is always available in the search path when you're working interactively, it's not automatically loaded by `Rscript`, the tool often used to run R from the command line.

* Pre R 3.2.0: `Depends: methods` in `DESCRIPTION`. \
Post R 3.2.0: `Imports: methods` in `DESCRIPTION`.
Expand Down

0 comments on commit 406b69c

Please sign in to comment.