forked from tidyverse/design
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 159a717
Showing
15 changed files
with
239 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,3 @@ | ||
^\.travis\.yml$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ |
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 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata | ||
docs |
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 @@ | ||
{"site_id":"4b95fe2c-2ea1-4046-b0ea-a514b1a63c46","path":"docs"} |
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,20 @@ | ||
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r | ||
|
||
language: R | ||
sudo: false | ||
cache: | ||
packages: true | ||
directories: | ||
- _bookdown_files | ||
- $HOME/.npm | ||
|
||
before_install: | ||
- npm install netlify-cli -g | ||
|
||
script: | ||
- Rscript -e 'bookdown::render_book("index.Rmd")' | ||
|
||
deploy: | ||
provider: script | ||
script: netlify deploy -t $NETLIFY_PAT | ||
skip_cleanup: true |
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 @@ | ||
# Chapter One Topic | ||
|
||
## A Section | ||
|
||
Bacon ipsum dolor amet pork belly andouille alcatra ball tip spare ribs landjaeger jowl flank beef shoulder tri-tip hamburger sausage beef ribs turducken. Short ribs salami bresaola short loin spare ribs beef ribs meatball corned beef cow swine. Pork porchetta picanha hamburger. Fatback capicola pork belly ham ground round, bacon cupim shank meatloaf burgdoggen porchetta venison tongue frankfurter. |
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 @@ | ||
# Chapter Two Topic | ||
|
||
## A Section | ||
|
||
Cat is love, cat is life meeeeouw for mrow, please stop looking at your phone and pet me but my water bowl is clean and freshly replenished, so i'll drink from the toilet. Pet my belly, you know you want to; seize the hand and shred it! i love cuddles hunt by meowing loudly at 5am next to human slave food dispenser so claw your carpet in places everyone can see - why hide my amazing artistic clawing skills? claws in your leg. Throwup on your pillow lick master's hand at first then bite because im moody or refuse to drink water except out of someone's glass but hiss at vacuum cleaner meow go back to sleep owner brings food and water tries to pet on head, so scratch get sprayed by water because bad cat nya nya nyan. |
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,13 @@ | ||
Package: principles | ||
Title: Tidyverse principles | ||
Version: 1.0.0 | ||
Authors@R: c( | ||
person("Tidyverse", "Team", , "[email protected]", c("aut", "cre")) | ||
) | ||
Depends: | ||
R (>= 3.1.0) | ||
Imports: | ||
bookdown, | ||
rmarkdown | ||
URL: https://github.com/tidyverse/principles | ||
BugReports: https://github.com/tidyverse/principles/issues |
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 @@ | ||
[](https://travis-ci.org/tidyverse/style) | ||
|
||
An R Style Guide written in **bookdown** (https://github.com/rstudio/bookdown). | ||
|
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 @@ | ||
output_dir: "docs" |
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 @@ | ||
#!/bin/sh | ||
|
||
Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')" |
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 @@ | ||
bookdown::gitbook: | ||
css: style.css | ||
config: | ||
toc: | ||
before: | | ||
<li><a href="./">R Style Guide</a></li> | ||
after: | | ||
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li> | ||
edit: https://github.com/tidyverse/style/edit/master/%s | ||
sharing: no |
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,14 @@ | ||
--- | ||
title: "Tidyverse package development principles" | ||
author: ["Tidyverse Team"] | ||
site: bookdown::bookdown_site | ||
output: bookdown::gitbook | ||
github-repo: tidyverse/style | ||
documentclass: book | ||
--- | ||
|
||
# Welcome {-} | ||
|
||
A place to document (and hash out) development principles for packages in the [tidyverse](http://tidyverse.org). | ||
|
||
A complement to <http://style.tidyverse.org>. |
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: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
BuildType: Custom | ||
CustomScriptPath: _build.sh |
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,30 @@ | ||
p.caption { | ||
color: #777; | ||
margin-top: 10px; | ||
} | ||
p code { | ||
white-space: inherit; | ||
} | ||
pre { | ||
word-break: normal; | ||
word-wrap: normal; | ||
} | ||
pre code { | ||
white-space: inherit; | ||
} | ||
|
||
.book .book-header h1 { | ||
opacity: 1; | ||
text-align: left; | ||
} | ||
|
||
#header .title { | ||
margin-bottom: 0em; | ||
} | ||
#header h4.author { | ||
margin: 0; | ||
color: #666; | ||
} | ||
#header h4.author em { | ||
font-style: normal; | ||
} |