Skip to content

Magick / ggplot 3 depricated aes_string() warning #424

@M-Russell

Description

@M-Russell

I'm using magick and ggplto to place figures in quarto.

ggplot is currently giving a waring about a depricated function apparently originating with magick.

I can't find another reference to the issue in the issues here so I raise it.

Here is a worked example:

`# save image as ggplot

my_plot_ggplot <- image_read(here::here("pathto/my.png"))  |>  image_ggplot(interpolate = TRUE)

my_plot_ggplot

Gives warining message:

Warning message:
aes_string() was deprecated in ggplot2 3.0.0.
ℹ Please use tidy evaluation idioms with `aes()`.
ℹ See also `vignette("ggplot2-in-packages")` for more information.
ℹ The deprecated feature was likely used in the magick package.
  Please report the issue at <[https://github.com/ropensci/magick/issues](vscode-file://vscode-app/c:/Users/mbpssmr9.DS/AppData/Local/Programs/Positron/resources/app/out/vs/code/electron-browser/workbench/workbench.html#)>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions