Skip to content

Source files to generate the instructions for the CDS 101 homework assignments.

License

Notifications You must be signed in to change notification settings

mason-cds-intro-comput-sci/homework-instructions

Repository files navigation

CDS 101 homework instructions

Overview

These are the R Markdown source files for the instructions for all CDS 101 homework assignments.

Prerequisites

The following software and R packages are required if you want to render the R Markdown documents as a GitHub-flavored Markdown file.

Software

  • R (>=3.5)

  • RStudio (>=1.1.463), preview release recommended

  • (Windows) Rtools: match the Rtools version to the R version and perform a full install

  • (Mac) Xcode Command Line Tools: needed for compiling source code in certain R packages

    # To install Xcode Command Line Tools, open up a terminal window and run the following
    xcode-select --install
  • (Optional) git: needed to clone the repository as a new project in RStudio

R packages

fs         (>= 1.2.6)
infer      (>= 0.4.0)
tidyverse  (>= 1.2.1)

See Install for an easy way to install the above R packages.

Install

Obtain a copy of this repo either by cloning it as a new RStudio project or by downloading the zip archive. Activate the project by clicking the file homework-instructions.Rproj in the RStudio file browser. Then, in an R console, type the following to install the necessary R packages:

install.packages("remotes", repos = "https://cran.rstudio.com")
remotes::install_deps()

Usage

The provided Makefile can be run within RStudio and contains rules for automatically knitting the homework instructions into PDF and GitHub-compatible markdown files. To run the Makefile, use the keyboard shortcut Ctrl+Alt+B or click the Build tab in the upper-right window and then click the Build All button. The knitted instructions will be saved in a folder called build/, and the GitHub-compatible markdown files can be used as the README.md file in the starter-file repositories you distribute to students.

License

Creative Commons License

Unless otherwise noted, these materials are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

Source files to generate the instructions for the CDS 101 homework assignments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published