Skip to content

Instantly share code, notes, and snippets.

@RaymondBalise
Last active February 13, 2024 14:19
Show Gist options
  • Save RaymondBalise/611a7c4ec3d36efb142db1b6a149a281 to your computer and use it in GitHub Desktop.
Save RaymondBalise/611a7c4ec3d36efb142db1b6a149a281 to your computer and use it in GitHub Desktop.
Code to load the packages that I use for teaching
if("remotes" %in% rownames(installed.packages()) == FALSE) {install.packages("remotes")}
remotes::install_cran(
c(
"aplore3", "arrow",
"babynames", "bookdown", "blogdown", "broom.mixed",
"car", "caret", "clipr", "conflicted", "C50",
"data.table", "describedata", "devtools", "DiagrammeR", "discrim", "distill", "doParallel", "DT",
"feather", "flextable", "flipbookr", "forestplot", "fst",
"gapminder", "gee", "GGally", "ggbeeswarm", "ggforce", "ggrepel", "ggthemes", "gh", "gitcreds", "glmnet", "globals", "gt", "gtsummary",
"haven", "here", "hexbin", "hexView",
"infer", "ISLR", "ISLR2",
"janitor", "jsonlite",
"kableExtra", "kknn", "knitr",
"learnr", "lintr", "LocalControl",
"maps", "mapproj", "markdown", "mgcv", "medicaldata", "miniUI",
"naivebayes",
"openintro",
"palmerpenguins", "patchwork", "pkgbuild", "poissonreg", "profvis", "psych", "public.ctn0094data",
"quarto",
"randomForest", "RColorBrewer", "reactablefmtr", "reactlog", "readODS", "renderthis", "reprex", "reticulate","rio", "rmarkdown", "rmatio", "roxygen2", "rpart", "rpart.plot", "rstanarm","rticles", "RSQLite",
"shiny", "shinycssloaders", "shinydashboard","shinyFeedback", "shinythemes","skimr", "sqldf","styler",
"table1", "testthat", "thematic", "tidycensus", "tidymodels", "tidyREDCap", "tidyverse",
"usethis", "usemodels",
"varhandle", "vcdExtra","vip","viridis", "vroom",
"waiter",
"xaringan", "xgboost", "xml2",
"yaml",
"zeallot"
),
build = FALSE)
remotes::install_github(
c(
"gadenbuie/xaringanExtra",
"glin/reactable",
"hadley/emo",
"hadley/yrbss",
'rstudio/chromote',
'raymondbalise/rUM'
))
@RaymondBalise
Copy link
Author

Updated the check on {remotes} and remove redcapAPI

@RaymondBalise
Copy link
Author

Add {renderthis} and remove {xaringanBuilder}

@AminShirkhani
Copy link

Thank you!

@RaymondBalise
Copy link
Author

Added {yrbss} and {ggbeeswarm}

@RaymondBalise
Copy link
Author

add {usemodels}

@RaymondBalise
Copy link
Author

add {forestplot}

@RaymondBalise
Copy link
Author

add {reticulate} and {quarto}

@RaymondBalise
Copy link
Author

add {palmerpenguins}

@RaymondBalise
Copy link
Author

add {gee}, {patchwork} and {public.ctn0094data}

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