/stat545-sandbox

Work in progress!

Primary LanguageHTMLOtherNOASSERTION

Travis build status Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Netlify Status

This bookdown book is a work in progress. We'll update this README and the repo status when ready! 🚀

Requirements to preview the bookdown locally

OMDb API Key

  1. Request an API key here

  2. Check your email and follow the instructions to activate your key

  3. Add the API key to your .Renviron file. First, open your .Renviron file:

    library(usethis)
    edit_r_environ()
    

    Next, add OMDB_API_KEY=<your-key> on a new line, replacing <your-key> with your OMDb key. (Make sure to have your .Renviron file end on a new line!)

Required packages

pkg_list <- c("bookdown", "devtools", "dichromat", "DT", "fs", "gapminder",
              "gender", "geonames", "git2r", "glue", "gridExtra",  "htmltools",
              "httr", "knitr", "RColorBrewer", "rebird", "rmarkdown", "rplos", 
              "rvest", "testthat", "tidyverse", "usethis", "viridis", "xfun", 
              "xml2", "ropensci/genderdata", "rstudio/gt")

Here's one way to install the needed packages (only the ones that you don't already have) using the pak package.

# install.packages("pak")
pak::pkg_install(pkg_list)