hypervolume icon indicating copy to clipboard operation
hypervolume copied to clipboard

Namespace conflict

Open teunbrand opened this issue 6 months ago • 1 comments

Hi there,

We've been preparing a new major release for ggplot2 and found an issue during a reverse dependency check. When installing your package we get the following message:

Found the following significant warnings: Warning: replacing previous import ‘e1071::element’ by ‘ggplot2::element’ when loading ‘hypervolume’

I think the correct solution is to use importFrom() in your package's namespace to cherrypick functions. This is in contrast to import(<package>), which causes this conflict. You can test your code with the development version of ggplot2 by installing it as follows:

# install.packages("pak")
pak::pak("tidyverse/ggplot2")

We aim to release the new ggplot2 version in about 2 weeks, and hope you can submit a fix to CRAN around that time. Hopefully this will inform you in a timely manner.

Best wishes, Teun

teunbrand avatar Jun 13 '25 14:06 teunbrand