Skip to content

Commit bf1961f

Browse files
committed
First iteration
0 parents  commit bf1961f

File tree

16 files changed

+144
-0
lines changed

16 files changed

+144
-0
lines changed

.Rbuildignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
^data-raw$
2+
^.*\.Rproj$
3+
^\.Rproj\.user$
4+
^\.travis\.yml$
5+
^buildpres\.sh$
6+
docs
7+
^README\.Rmd$
8+
^README-.*\.png$
9+
pres
10+
demo

.Rproj.user/49DD40E2/sdb/prop/5A09925

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"tempName" : "Untitled1"
3+
}

.Rproj.user/49DD40E2/sdb/prop/INDEX

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
C%3A%2FUsers%2Fsteph%2FDropbox%2FLocke%20Data%2FPresentations%2Fpres-stub%2Fbuildpres.sh="5A09925"
2+
C%3A%2FUsers%2Fsteph%2FDropbox%2FLocke%20Data%2FPresentations%2Fpres-stub%2Fpres%2Fsample.Rmd="CA011272"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"collab_server" : "",
3+
"contents" : "---\ntitle: \"Sample\"\nauthor: \"Locke Data\"\ndate: \"14 May 2017\"\noutput: html_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(echo = TRUE)\n```\n\n## R Markdown\n\nThis is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.\n\nWhen you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:\n\n```{r cars}\nsummary(cars)\n```\n\n## Including Plots\n\nYou can also embed plots, for example:\n\n```{r pressure, echo=FALSE}\nplot(pressure)\n```\n\nNote that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.\n",
4+
"created" : 1494778952965.000,
5+
"dirty" : false,
6+
"encoding" : "UTF-8",
7+
"folds" : "",
8+
"hash" : "1157202749",
9+
"id" : "EA92A662",
10+
"lastKnownWriteTime" : 1494778961,
11+
"last_content_update" : 1494778961957,
12+
"path" : "C:/Users/steph/Dropbox/Locke Data/Presentations/pres-stub/pres/sample.Rmd",
13+
"project_path" : "pres/sample.Rmd",
14+
"properties" : {
15+
"tempName" : "Untitled1"
16+
},
17+
"relative_order" : 1,
18+
"source_on_save" : false,
19+
"source_window" : "",
20+
"type" : "r_markdown"
21+
}

.Rproj.user/49DD40E2/sdb/s-1A77306F/lock_file

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
virtual-session-id="7BE7742F"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"chunk_definitions":[],"doc_write_time":3419473789575321445}

.Rproj.user/shared/notebooks/paths

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
C:/Users/steph/Dropbox/Locke Data/Presentations/pres-stub/buildpres.sh="B4F2AE8B"
2+
C:/Users/steph/Dropbox/Locke Data/Presentations/pres-stub/pres/sample.Rmd="C6B4DA92"

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: r
2+
cache: packages
3+
latex: false
4+
warnings_are_errors: false
5+
install:
6+
- R -e 'devtools::install_deps(dep = T)'
7+
- R CMD build .
8+
- R CMD check *tar.gz
9+
- Rscript -e 'devtools::install(pkg = ".")'
10+
before_script:
11+
- chmod +x ./buildpres.sh
12+
script:
13+
- ./buildpres.sh

DESCRIPTION

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Package: presstub
2+
Title: Presentation stub
3+
Version: 0.1.0
4+
Authors@R: person("Steph", "Locke", email="[email protected]", role = c("aut", "cre"))
5+
Description: Basic repo template for presentations.
6+
Depends:
7+
R (>= 3.1.2)
8+
Imports:
9+
revealjs
10+
Suggests:
11+
knitr
12+
Remotes:
13+
lockedata/revealjs
14+
License: CC-BY-SA-4.0 + file LICENSE
15+
Encoding: UTF-8
16+
LazyData: true
17+
VignetteBuilder: knitr
18+
RoxygenNote: 6.0.1
19+
Roxygen: list(markdown = TRUE)

LICENSE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2016
2+
COPYRIGHT HOLDER: Steph Locke

NAMESPACE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Generated by roxygen2: do not edit by hand
2+

buildpres.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
AUTHORNAME="Steph"
3+
AUTHOREMAIL="[email protected]"
4+
GITURL="https://$GITHUB_PAT@github.com/$TRAVIS_REPO_SLUG.git"
5+
6+
git remote set-url origin $GITURL
7+
8+
for f in $(find pres -name ".Rmd")
9+
do
10+
Rscript -e 'rmarkdown::render("$f", output_dir="docs")'
11+
done
12+
13+
git add .
14+
git commit -am "[ci skip] Documents produced in clean environment via Travis $TRAVIS_BUILD_NUMBER"
15+
git push -u --quiet origin master

pres-stub.Rproj

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Version: 1.0
2+
3+
RestoreWorkspace: No
4+
SaveWorkspace: No
5+
AlwaysSaveHistory: No
6+
7+
EnableCodeIndexing: Yes
8+
UseSpacesForTab: Yes
9+
NumSpacesForTab: 2
10+
Encoding: UTF-8
11+
12+
RnwWeave: knitr
13+
LaTeX: XeLaTeX
14+
15+
AutoAppendNewline: Yes
16+
StripTrailingWhitespace: Yes
17+
18+
BuildType: Package
19+
PackageUseDevtools: Yes
20+
PackageInstallArgs: --no-multiarch --with-keep.source
21+

pres/sample.Rmd

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: "Sample"
3+
author: "Locke Data"
4+
date: "14 May 2017"
5+
output: html_document
6+
---
7+
8+
```{r setup, include=FALSE}
9+
knitr::opts_chunk$set(echo = TRUE)
10+
```
11+
12+
## R Markdown
13+
14+
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
15+
16+
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
17+
18+
```{r cars}
19+
summary(cars)
20+
```
21+
22+
## Including Plots
23+
24+
You can also embed plots, for example:
25+
26+
```{r pressure, echo=FALSE}
27+
plot(pressure)
28+
```
29+
30+
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.

0 commit comments

Comments
 (0)