This repository contains the source code for the INFO 201: Technical Foundations in Informatics course book. The published book can be viewed at https://info201.github.io/.
Note that all edited source files (including images and other assets) should be edited within the root folder; files in the build
directory may be overwritten.
You should be able to install all required R dependencies using packrat: simply restart R (e.g., through an interactive session in the terminal) in order to automatically install the required libraries.
- If that doesn't work, you should be able to use the
packrat::restore()
function. You may need to do this through RStudio.
Additionally, you may need to install the following libraries separately:
-
Pandoc (for compiling the R-Markdown). But you may just need to specify the path.
-
LaTeX for building to
pdf
(MiKTeX for Windows, MacTex on Mac).
You can use the included Makefile
to build the book:
-
make book
to build the HTML version of the book (the output is saved in the saved in the repository's root folder). -
make pdf
to build the PDF version of the book. -
make epub
to build the epub version of the book. -
make all
to build all versions of the book. -
make serve
to serve a local copy of the book for development (with auto-refreshing browser). -
make deploy
to publish the built book tohttps://info201.github.io
.