if (FALSE) {
# Update all CRAN + Bioconductor packages:
update_pkg()
# Update all CRAN packages only:
update_pkg(source = "CRAN")
# Update specific package:
update_pkg("ggplot2", source = "CRAN")
# Update GitHub package:
update_pkg("hadley/ggplot2", source = "GitHub")
}
Run the code above in your browser using DataLab