-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ludvig Larsson
committed
Oct 31, 2019
0 parents
commit f3d1542
Showing
13 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## This makes sure that R loads the workflowr package | ||
## automatically, everytime the project is loaded | ||
if (requireNamespace("workflowr", quietly = TRUE)) { | ||
message("Loading .Rprofile for the current workflowr project") | ||
library("workflowr") | ||
} else { | ||
message("workflowr package not installed, please run install.packages(\"workflowr\") to use the workflowr functions") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata | ||
.Rapp.history | ||
.DS_Store | ||
analysis/figure | ||
analysis/*png | ||
analysis/*html | ||
analysis/*_cache | ||
analysis/site_libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# myproject | ||
|
||
A [workflowr][] project. | ||
|
||
[workflowr]: https://github.com/jdblischak/workflowr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# workflowr options | ||
# Version 1.3.0 | ||
|
||
# The seed to use for random number generation. See ?set.seed for details. | ||
seed: 20191031 | ||
# The working directory to build the R Markdown files. The path is relative to | ||
# _workflowr.yml. See ?rmarkdown::render for details. | ||
knit_root_dir: "." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "myproject" | ||
output_dir: ../docs | ||
navbar: | ||
title: "myproject" | ||
left: | ||
- text: Home | ||
href: index.html | ||
- text: About | ||
href: about.html | ||
- text: License | ||
href: license.html | ||
output: | ||
workflowr::wflow_html: | ||
toc: yes | ||
toc_float: yes | ||
theme: cosmo | ||
highlight: textmate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: "About" | ||
output: | ||
workflowr::wflow_html: | ||
toc: false | ||
editor_options: | ||
chunk_output_type: console | ||
--- | ||
|
||
Describe your project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: "Home" | ||
site: workflowr::wflow_site | ||
output: | ||
workflowr::wflow_html: | ||
toc: false | ||
editor_options: | ||
chunk_output_type: console | ||
--- | ||
|
||
Welcome to my research website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: "License" | ||
output: | ||
workflowr::wflow_html: | ||
toc: false | ||
editor_options: | ||
chunk_output_type: console | ||
--- | ||
|
||
What license are you using for your code? See [choosealicense.com][choose] for | ||
help deciding. It's a convention to save a file `LICENSE` in the root of your | ||
Git repo that contains the license text. | ||
|
||
What license are you using for the written content on your site? It is | ||
traditional to choose a [Creative Commons][cc] license for this type of content. | ||
|
||
[choose]: http://choosealicense.com/ | ||
[cc]: https://creativecommons.org/choose/ | ||
|
||
How should others cite your work? It's a convention to save a file `CITATION` | ||
in the root of your Git repo that contains the citation information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Code | ||
|
||
Save command-line scripts and shared R code here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Data | ||
|
||
Save raw data files here. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: No | ||
SaveWorkspace: No | ||
AlwaysSaveHistory: Yes | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
AutoAppendNewline: Yes | ||
StripTrailingWhitespace: Yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Output | ||
|
||
Save processed data files here. |