- +2 −0 .Rbuildignore
- +4 −0 .gitignore
- +11 −0 DESCRIPTION
- +1 −0 NAMESPACE
- +18 −0 R/hello.R
- +12 −0 man/hello.Rd
- +20 −0 tutorials.Rproj
| @@ -0,0 +1,2 @@ | ||
| ^.*\.Rproj$ | ||
| ^\.Rproj\.user$ |
| @@ -0,0 +1,4 @@ | ||
| .Rproj.user | ||
| .Rhistory | ||
| .RData | ||
| .Ruserdata |
| @@ -0,0 +1,11 @@ | ||
| Package: tutorials | ||
| Type: Package | ||
| Title: What the Package Does (Title Case) | ||
| Version: 0.1.0 | ||
| Author: Who wrote it | ||
| Maintainer: The package maintainer <yourself@somewhere.net> | ||
| Description: More about what it does (maybe more than one line) | ||
| Use four spaces when indenting paragraphs within the Description. | ||
| License: What license is it under? | ||
| Encoding: UTF-8 | ||
| LazyData: true |
| @@ -0,0 +1 @@ | ||
| exportPattern("^[[:alpha:]]+") |
| @@ -0,0 +1,18 @@ | ||
| # Hello, world! | ||
| # | ||
| # This is an example function named 'hello' | ||
| # which prints 'Hello, world!'. | ||
| # | ||
| # You can learn more about package authoring with RStudio at: | ||
| # | ||
| # http://r-pkgs.had.co.nz/ | ||
| # | ||
| # Some useful keyboard shortcuts for package authoring: | ||
| # | ||
| # Build and Reload Package: 'Cmd + Shift + B' | ||
| # Check Package: 'Cmd + Shift + E' | ||
| # Test Package: 'Cmd + Shift + T' | ||
|
|
||
| hello <- function() { | ||
| print("Hello, world!") | ||
| } |
| @@ -0,0 +1,12 @@ | ||
| \name{hello} | ||
| \alias{hello} | ||
| \title{Hello, World!} | ||
| \usage{ | ||
| hello() | ||
| } | ||
| \description{ | ||
| Prints 'Hello, world!'. | ||
| } | ||
| \examples{ | ||
| hello() | ||
| } |
| @@ -0,0 +1,20 @@ | ||
| Version: 1.0 | ||
|
|
||
| RestoreWorkspace: Default | ||
| SaveWorkspace: Default | ||
| AlwaysSaveHistory: Default | ||
|
|
||
| EnableCodeIndexing: Yes | ||
| UseSpacesForTab: Yes | ||
| NumSpacesForTab: 2 | ||
| Encoding: UTF-8 | ||
|
|
||
| RnwWeave: Sweave | ||
| LaTeX: pdfLaTeX | ||
|
|
||
| AutoAppendNewline: Yes | ||
| StripTrailingWhitespace: Yes | ||
|
|
||
| BuildType: Package | ||
| PackageUseDevtools: Yes | ||
| PackageInstallArgs: --no-multiarch --with-keep.source |