What happens when I install the ggplot2 development version

Does ggplot2 install the standard version for development? I need a dev version for a specific package, but I don't want to mess up with what I have. Can I then remove dev or is it just reinstalling the regular version, which will then overwrite the dev version. I googled, found nothing. Thanks

+4
source share
1 answer

according to this answer , it is not overwritten when using the devtools sandbox:

install.packages("devtools")
library(devtools)
dev_mode(on=T)
install_github("hadley/ggplot2")
# use dev ggplot2 now
# when finished do:
dev_mode(on=F)  #and you are back to having stable ggplot2

For more information on dev_mode (e.g. specifying a sandbox where R saves the dev package), see the devtools documentation

+5
source

Source: https://habr.com/ru/post/1694085/


All Articles