Restore yaml metadata necessary for travis

This commit is contained in:
hadley 2015-12-16 16:41:08 -06:00
parent d149c28639
commit fae4699bba
18 changed files with 69 additions and 5 deletions

View File

@ -4,7 +4,7 @@ library(bookdown)
library(methods) library(methods)
args <- commandArgs(trailingOnly = TRUE) args <- commandArgs(trailingOnly = TRUE)
path <- args[1] path <- temp.Rmd
if (!file.exists(path)) { if (!file.exists(path)) {
stop("Can't find path ", path, call. = FALSE) stop("Can't find path ", path, call. = FALSE)

View File

@ -21,13 +21,13 @@ module Jekyll
# http://rubyquicktips.com/post/5862861056/execute-shell-commands # http://rubyquicktips.com/post/5862861056/execute-shell-commands
content = `_plugins/knit.r temp.Rmd` content = `_plugins/knit.r temp.Rmd`
if $?.exitstatus != 0 if $?.exitstatus != 0
raise "Knitting failed" raise "Knitting failed"
end end
content content
# File.unlink f.path # File.unlink f.path
end end
end end
end end

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Data structures # Data structures
Might be quite brief. Might be quite brief.

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Dates and times # Dates and times

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Exploratory data analysis # Exploratory data analysis
```{r, include = FALSE} ```{r, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Expressing yourself in code # Expressing yourself in code
```{r, include = FALSE} ```{r, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Data import # Data import
```{r, include = FALSE} ```{r, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Introduction # Introduction
```{r setup-intro, include = FALSE} ```{r setup-intro, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Lists # Lists
```{r setup-lists, include=FALSE} ```{r setup-lists, include=FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Model assessment # Model assessment
```{r setup-model, include=FALSE} ```{r setup-model, include=FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Model visualisation # Model visualisation
Gap minder Gap minder

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Model # Model
After reading this chapter, what can you do that you couldn't before? After reading this chapter, what can you do that you couldn't before?

View File

@ -1,3 +1,7 @@
----
layout: default
----
# R Markdown # R Markdown
Recommendations for learning more about communication: Recommendations for learning more about communication:

View File

@ -1 +1,5 @@
----
layout: default
----
# Shiny # Shiny

View File

@ -1,3 +1,7 @@
----
layout: default
----
# String manipulation # String manipulation
```{r setup-strings, include = FALSE} ```{r setup-strings, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Tidy data # Tidy data
> "Tidy datasets are all alike but every messy dataset is messy in its > "Tidy datasets are all alike but every messy dataset is messy in its

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Data transformation {#transform} # Data transformation {#transform}
```{r setup-transform, include = FALSE} ```{r setup-transform, include = FALSE}

View File

@ -1,3 +1,7 @@
----
layout: default
----
# Data visualisation # Data visualisation
```{r setup-visualise, include = FALSE} ```{r setup-visualise, include = FALSE}