Skip to content

Instantly share code, notes, and snippets.

@infotroph
Created January 20, 2016 21:46
Show Gist options
  • Save infotroph/ec031ff026b064879dc0 to your computer and use it in GitHub Desktop.
Save infotroph/ec031ff026b064879dc0 to your computer and use it in GitHub Desktop.
Unwanted ggplot2 update from running install_github(...)
R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
> packageVersion("ggplot2")
[1] ‘1.0.1’
> library(ggplotTicks)
Error in library(ggplotTicks) : there is no package called ‘ggplotTicks’
> library(devtools)
> install_github("infotroph/ggplotTicks")
[...]
Installing 4 packages: digest, ggplot2, Rcpp, stringi
[...]
[...bunch of compilation...]
* DONE (ggplotTicks)
Warning message:
In utils::install.packages(pkgs, repos = repos, type = type, ..., :
installation of package ‘stringi’ had non-zero exit status
> packageVersion("ggplot2")
[1] ‘2.0.0’
@infotroph
Copy link
Author

For the record: this can be prevented with install_github("infotroph/ggplotTicks", upgrade_dependencies=FALSE) and fixed with install_version("ggplot2", "1.0.1").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment