Skip to content

Commit edfe53e

Browse files
committed
Start workflowr project.
0 parents  commit edfe53e

File tree

14 files changed

+119
-0
lines changed

14 files changed

+119
-0
lines changed

.Rprofile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## This makes sure that R loads the workflowr package
2+
## automatically, everytime the project is loaded
3+
if (requireNamespace("workflowr", quietly = TRUE)) {
4+
message("Loading .Rprofile for the current workflowr project")
5+
library("workflowr")
6+
} else {
7+
message("workflowr package not installed, please run install.packages(\"workflowr\") to use the workflowr functions")
8+
}

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Classify R Markdown files as R code for GitHub language statistics
2+
# https://github.com/github/linguist#overrides
3+
*.[Rr]md linguist-language=R

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
.Rapp.history
6+
.DS_Store
7+
analysis/figure
8+
analysis/*png
9+
analysis/*html
10+
analysis/*_cache
11+
analysis/site_libs

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# workflowr-useR2020
2+
3+
A [workflowr][] project.
4+
5+
[workflowr]: https://github.com/jdblischak/workflowr

_workflowr.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# workflowr options
2+
# Version 1.6.2.9000
3+
4+
# The seed to use for random number generation. See ?set.seed for details.
5+
seed: 20200611
6+
# The working directory to build the R Markdown files. The path is relative to
7+
# _workflowr.yml. See ?rmarkdown::render for details.
8+
knit_root_dir: "."

analysis/_site.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "workflowr-useR2020"
2+
output_dir: ../docs
3+
navbar:
4+
title: "workflowr-useR2020"
5+
left:
6+
- text: Home
7+
href: index.html
8+
- text: About
9+
href: about.html
10+
- text: License
11+
href: license.html
12+
output:
13+
workflowr::wflow_html:
14+
toc: yes
15+
toc_float: yes
16+
theme: cosmo
17+
highlight: textmate

analysis/about.Rmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "About"
3+
output:
4+
workflowr::wflow_html:
5+
toc: false
6+
editor_options:
7+
chunk_output_type: console
8+
---
9+
10+
Describe your project.

analysis/index.Rmd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Home"
3+
site: workflowr::wflow_site
4+
output:
5+
workflowr::wflow_html:
6+
toc: false
7+
editor_options:
8+
chunk_output_type: console
9+
---
10+
11+
Welcome to my research website.

analysis/license.Rmd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: "License"
3+
output:
4+
workflowr::wflow_html:
5+
toc: false
6+
editor_options:
7+
chunk_output_type: console
8+
---
9+
10+
What license are you using for your code? See [choosealicense.com][choose] for
11+
help deciding. It's a convention to save a file `LICENSE` in the root of your
12+
Git repo that contains the license text.
13+
14+
What license are you using for the written content on your site? It is
15+
traditional to choose a [Creative Commons][cc] license for this type of content.
16+
17+
[choose]: http://choosealicense.com/
18+
[cc]: https://creativecommons.org/choose/
19+
20+
How should others cite your work? It's a convention to save a file `CITATION`
21+
in the root of your Git repo that contains the citation information.

code/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code
2+
3+
Save command-line scripts and shared R code here.

data/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Data
2+
3+
Save raw data files here.

docs/.nojekyll

Whitespace-only changes.

output/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Output
2+
3+
Save processed data files here.

workflowr-useR2020.Rproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Version: 1.0
2+
3+
RestoreWorkspace: No
4+
SaveWorkspace: No
5+
AlwaysSaveHistory: Yes
6+
7+
EnableCodeIndexing: Yes
8+
UseSpacesForTab: Yes
9+
NumSpacesForTab: 2
10+
Encoding: UTF-8
11+
12+
RnwWeave: Sweave
13+
LaTeX: pdfLaTeX
14+
15+
AutoAppendNewline: Yes
16+
StripTrailingWhitespace: Yes

0 commit comments

Comments
 (0)