Skip to content

Too many objects are masked from ‘package:ggplot2’ #1

@XiangyunHuang

Description

@XiangyunHuang

When I load the ggtern package, lots of functions which included in ggplot2 are masked. Maybe we do not have to reexport them in ggtern package. Besides, I noticed the next ggplot2 version 3.4.0 which will change aesthetic size to linewidth.

library(ggtern)
Loading required package: ggplot2
Registered S3 methods overwritten by 'ggtern':
  method           from   
  grid.draw.ggplot ggplot2
  plot.ggplot      ggplot2
  print.ggplot     ggplot2
--
Remember to cite, run citation(package = 'ggtern') for further info.
--

Attaching package: ‘ggtern’

The following objects are masked from ‘package:ggplot2’:

    aes, annotate, ggplot, ggplot_build, ggplot_gtable, ggplotGrob, ggsave,
    layer_data, theme_bw, theme_classic, theme_dark, theme_gray, theme_light,
    theme_linedraw, theme_minimal, theme_void

Warning message:
The `size` argument of `element_rect()` is deprecated as of ggplot2 3.4.0.
ℹ Please use the `linewidth` argument instead.
ℹ The deprecated feature was likely used in the ggtern package.
  Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 

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