Skip to content

Instantly share code, notes, and snippets.

@francisbarton
Forked from tomjemmett/setup.R
Last active April 25, 2024 00:11
Show Gist options
  • Save francisbarton/3a248734c43ae905ebd7f87dd8b947a9 to your computer and use it in GitHub Desktop.
Save francisbarton/3a248734c43ae905ebd7f87dd8b947a9 to your computer and use it in GitHub Desktop.
Bootstrap a new R installation
# Apr 2024: stripped out several packages from the list that were loaded as dependencies anyway
pkgs <- c(
"usethis",
"tidyterra",
"devtools",
"tmap",
"janitor",
"afcolours",
"arrow",
"assertthat",
"bagyo",
"conflicted",
"cricketdata",
"dbplyr",
"duckplyr",
"epoxy",
"extrafont",
"ggpubr",
"glitter",
"googledrive",
"googlesheets4",
"gt",
"gtExtras",
"here",
"httpgd",
"languageserver",
"leaflet.extras",
"lintr",
"Microsoft365R",
"naniar",
"nomisr",
"odbc",
"openxlsx2",
"pagedown",
"paint",
"palmerpenguins",
"patchwork",
"pins",
"pkgdown",
"quarto",
"readxl",
"reprex",
"slider",
"styler",
"suncalc",
"targets",
"writexl"
)
install.packages(pkgs, type = "binary")
remotes::install_github("gaborcsardi/prompt")
remotes::install_github("olihawkins/pilot")
remotes::install_github("elipousson/sfext")
remotes::install_github("karthik/wesanderson")
remotes::install_github("andrewallenbruce/pathologie")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment