Skip to content

Commit

Permalink
Grammar: technically correctly->correct
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Nov 28, 2024
1 parent 9652d15 commit d1d3b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/namespace.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bizarro <- function(x, ...) {

While S3 methods are regular functions with a special naming scheme, their "export" works a bit differently.
S3 methods are exported only in the sense that calling the generic with the appropriate class will call the method; a user can't directly access the method definition by typing its name.
A more technically correctly term would be to say that the method is **registered** so that the generics can find it.
A more technically correct term would be to say that the method is **registered** so that the generics can find it.

You must register, i.e. `@export`, every S3 method regardless of whether or not the generic is exported.
roxygen2 will warn you if you have forgotten.
Expand Down

0 comments on commit d1d3b33

Please sign in to comment.