Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 543 Bytes

000_header.md

File metadata and controls

21 lines (16 loc) · 543 Bytes
title series author
Functional Programming in R
Advanced Statistical Programming in R
Thomas Mailund
suppressPackageStartupMessages(library(magrittr, quietly = TRUE))
suppressPackageStartupMessages(library(pryr, quietly = TRUE))
suppressPackageStartupMessages(library(microbenchmark, quietly = TRUE))
suppressPackageStartupMessages(library(purrr, quietly = TRUE))

assert <- function(expr, expected) {
	if (!expr) stop(paste0("ERROR: ", expr))
}

options(width = 50)

Sys.setenv(LANG = "en")