sinhrks / ggfortify

Define fortify and autoplot functions to allow ggplot2 to handle some popular R packages.
Other
527 stars 65 forks source link

ggrepel not working with new version of R and RStudio #219

Closed ncep112 closed 2 years ago

ncep112 commented 2 years ago

System information

Describe the problem

There seems to be a new bug with ggfortify loadings.label.repel. This code no longer works with updated R (version 4.1.2) and RStudio (version 2022.02.0+443), when it previously worked with older versions.

Source code / logs / plots

autoplot(prcomp(USArrests), label.repel = TRUE, loadings = TRUE, loadings.label.repel = TRUE) Rplot

terrytangyuan commented 2 years ago

Was the problem solved?

ncep112 commented 2 years ago

A colleague was able to replicate the scripts above without getting the same error, so I assume it's an issue with my computer rather than with ggfortify loadings.label.repel or the new version of R. Thank you for your help in developing and maintaining this tool!