<commit_before>#' Default set of packages.
#'
#' To see a tidy list of them, refer to Examples:
#' @examples
#' dgutils::fl(my_packages)
#'
#' @export
my_packages <- list(
  "crayon",
  c("github", "dgabbe/dgutils@Current"),
  "directlabels",
  "dplyr",
  "ggplot2",
  "knitr",
  "lubridate",
  c("github", "hadley/pkgdown"),
  "plotrix",
  "pryr",
  "RColorBrewer",
  "readr",
  "readxl",
  "reshape2",
  "rmarkdown",
  "roxygen2",
  "rsconnect",
  "rversions",
  "scales",
  "shiny",
  "stringr",
  "tidyr",
  c("github", "dgabbe/wdprompt@Current")
)

#' Installs your standard set of packages.
#'
#' This function is part programming exercise and part solution to R upgrades.
#' Only \code{\link{install.packages}() pkgs} param is supported.  For \code{devtools::install_*}
#' functions, only the first parameter, usually repo, is supported.  If you need
#' something more advanced, there are plenty of similar functions already written.
#'
#' Each R release has its own library, \code{/Library/Frameworks/R.framework/Versions/x.x/Resources/library}.
#' To avoid redoing the package installs into the new R library, I added this entry to \code{.Renviron}:
#' \preformatted{
#' R_LIBS_USER=~/Library/R/3.x/library/
#' }
#' and this function to make managing multiple computers eaiser.<commit_msg>Added wesanderson for flexible palette generation.<commit_after>#' Default set of packages.
#'
#' To see a tidy list of them, refer to Examples:
#' @examples
#' dgutils::fl(my_packages)
#'
#' @export
my_packages <- list(
  "crayon",
  c("github", "dgabbe/dgutils@Current"),
  "directlabels",
  "dplyr",
  "ggplot2",
  "knitr",
  "lubridate",
  c("github", "hadley/pkgdown"),
  "plotrix",
  "pryr",
  "RColorBrewer",
  "readr",
  "readxl",
  "reshape2",
  "rmarkdown",
  "roxygen2",
  "rsconnect",
  "rversions",
  "scales",
  "shiny",
  "stringr",
  "tidyr",
  c("github", "dgabbe/wdprompt@Current"),
  "wesanderson"
)

#' Installs your standard set of packages.
#'
#' This function is part programming exercise and part solution to R upgrades.
#' Only \code{\link{install.packages}() pkgs} param is supported.  For \code{devtools::install_*}
#' functions, only the first parameter, usually repo, is supported.  If you need
#' something more advanced, there are plenty of similar functions already written.
#'
#' Each R release has its own library, \code{/Library/Frameworks/R.framework/Versions/x.x/Resources/library}.
#' To avoid redoing the package installs into the new R library, I added this entry to \code{.Renviron}:
#' \preformatted{
#' R_LIBS_USER=~/Library/R/3.x/library/
#' }
#' and this function to make managing multiple computers eaiser.
{'fraction_non_alphanumeric': 0.15245283018867925, 'fraction_numerical': 0.0030188679245283017, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4402164', 'n_tokens_mistral': 957, 'n_tokens_neox': 895, 'n_words': 267}