Skip to content

Typo Chapter 15.5.1 #1812

@kellijohnson-NOAA

Description

@kellijohnson-NOAA
In practice, this means that you should alway define methods defined for the terminal nodes, i.e. those on the far right.

where "alway" should be "always"

adv-r/S4.Rmd

Line 493 in 63ea8d9

To find the method that gets called, you start with the most specific class of the actual arguments, then follow the arrows until you find a method that exists. For example, if you called the function with an object of class `r emoji("wink")` you would follow the arrow right to find the method defined for the more general `r emoji("no_mouth")` class. If no method is found, method dispatch has failed and an error is thrown. In practice, this means that you should alway define methods defined for the terminal nodes, i.e. those on the far right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions