Closed Serendipity31 closed 4 months ago
It does look like you need to update vctrs. Completely shut down R/RStudio, and then open it back up and try install.packages("vctrs")
again, or pak::pak("vctrs")
.
@DavisVaughan - the second option worked. I hadn't seen that before. Thanks!
Issue
I'm exploring the use of various plotting packages that extend the functionality of
ggplot2
. In trying to replicate various examples from function help files, I keep getting an error related to theobj_is_vector
function. Can someone help?Example 1 (from the
cowplot
package help files)Example 2 (from the
ggbreak
package help files)Error
In both these examples I get the following error message:
Additionally, when I try to update the
vctrs
package, I get the following message (despite the fact that I've not directly loaded the package):I cannot detach or unload the package, and so cannot seem to update it.
Environment