Skip to content

Error in Figure, S13.10.2, not rendering, with "scales_add_defaults" #41

@xfim

Description

@xfim

Hello,

It seems that in section "13.10.2 Re-using your code: adding layers with..." one of the figures is currently not rendering properly:

## Error in `geom_point()`:
## ! Problem while computing aesthetics.
## ℹ Error occurred in the 1st layer.
## Caused by error in `scales_add_defaults()`:
## ! could not find function "scales_add_defaults"

Strangely, however, the same figure with the logarithmic scales produces correct output.

Do you know where the source of the problem "scales_add_defaults" is? My guess is that it is a ggplot2 >= 3.5 related issue, as I am having a similar one, but can't figure it and maybe by solving yours you have a clue.

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions