-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
22 changed files
with
2,511 additions
and
7 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 |
---|---|---|
@@ -1,2 +1,10 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^LICENSE\.md$ | ||
^README\.Rmd$ | ||
^\.travis\.yml$ | ||
^appveyor\.yml$ | ||
^codecov\.yml$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
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,7 @@ | ||
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r | ||
|
||
language: R | ||
cache: packages | ||
|
||
after_success: | ||
- Rscript -e 'covr::codecov()' |
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 |
---|---|---|
@@ -1,11 +1,17 @@ | ||
Package: stashR | ||
Type: Package | ||
Title: What the Package Does (Title Case) | ||
Version: 0.1.0 | ||
Author: Who wrote it | ||
Maintainer: The package maintainer <[email protected]> | ||
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? | ||
Title: Stash and Load Objects in R | ||
Version: 0.0.0.9000 | ||
Authors@R: person(c("Joshua", "H"), "Cook", email = "[email protected]", | ||
role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0001-9815-6879")) | ||
https: //github.com/jhrcook/stashR https://jhrcook.github.io/stashR/ | ||
Description: A simple system for saving and loading objects in R. Long running | ||
computations can be stashed after the first run and then reloaded the next | ||
time. Dependencies can be added to ensure that a computation is re-run if | ||
any of its dependencies or inputs have changed. | ||
License: GPL-3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Suggests: | ||
covr |
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,63 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
# stashR | ||
|
||
<!-- badges: start --> | ||
[](https://CRAN.R-project.org/package=stashR) | ||
[](https://travis-ci.org/jhrcook/stashR) | ||
[](https://ci.appveyor.com/project/jhrcook/stashR) | ||
[](https://codecov.io/gh/jhrcook/stashR?branch=master) | ||
<!-- badges: end --> | ||
|
||
The goal of stashR is to ... | ||
|
||
## Installation | ||
|
||
You can install the released version of stashR from [CRAN](https://CRAN.R-project.org) with: | ||
|
||
``` r | ||
install.packages("stashR") | ||
``` | ||
|
||
And the development version from [GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("devtools") | ||
devtools::install_github("jhrcook/stashR") | ||
``` | ||
## Example | ||
|
||
This is a basic example which shows you how to solve a common problem: | ||
|
||
```{r example} | ||
# library(stashR) | ||
``` | ||
|
||
What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so: | ||
|
||
```{r cars} | ||
summary(cars) | ||
``` | ||
|
||
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. | ||
|
||
You can also embed plots, for example: | ||
|
||
```{r pressure, echo = FALSE} | ||
plot(pressure) | ||
``` | ||
|
||
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub! |
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,66 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# stashR | ||
|
||
<!-- badges: start --> | ||
|
||
[](https://CRAN.R-project.org/package=stashR) | ||
[](https://travis-ci.org/jhrcook/stashR) | ||
[](https://ci.appveyor.com/project/jhrcook/stashR) | ||
[](https://codecov.io/gh/jhrcook/stashR?branch=master) | ||
<!-- badges: end --> | ||
|
||
The goal of stashR is to … | ||
|
||
## Installation | ||
|
||
You can install the released version of stashR from | ||
[CRAN](https://CRAN.R-project.org) with: | ||
|
||
``` r | ||
install.packages("stashR") | ||
``` | ||
|
||
And the development version from [GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("devtools") | ||
devtools::install_github("jhrcook/stashR") | ||
``` | ||
|
||
## Example | ||
|
||
This is a basic example which shows you how to solve a common problem: | ||
|
||
``` r | ||
# library(stashR) | ||
``` | ||
|
||
What is special about using `README.Rmd` instead of just `README.md`? | ||
You can include R chunks like so: | ||
|
||
``` r | ||
summary(cars) | ||
#> speed dist | ||
#> Min. : 4.0 Min. : 2.00 | ||
#> 1st Qu.:12.0 1st Qu.: 26.00 | ||
#> Median :15.0 Median : 36.00 | ||
#> Mean :15.4 Mean : 42.98 | ||
#> 3rd Qu.:19.0 3rd Qu.: 56.00 | ||
#> Max. :25.0 Max. :120.00 | ||
``` | ||
|
||
You’ll still need to render `README.Rmd` regularly, to keep `README.md` | ||
up-to-date. | ||
|
||
You can also embed plots, for example: | ||
|
||
<img src="man/figures/README-pressure-1.png" width="100%" /> | ||
|
||
In that case, don’t forget to commit and push the resulting figure | ||
files, so they display on GitHub\! |
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 @@ | ||
destination: 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,52 @@ | ||
# DO NOT CHANGE the "init" and "install" sections below | ||
|
||
# Download script file from GitHub | ||
init: | ||
ps: | | ||
$ErrorActionPreference = "Stop" | ||
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1" | ||
Import-Module '..\appveyor-tool.ps1' | ||
install: | ||
ps: Bootstrap | ||
|
||
cache: | ||
- C:\RLibrary | ||
|
||
environment: | ||
NOT_CRAN: true | ||
# env vars that may need to be set, at least temporarily, from time to time | ||
# see https://github.com/krlmlr/r-appveyor#readme for details | ||
# USE_RTOOLS: true | ||
# R_REMOTES_STANDALONE: true | ||
|
||
# Adapt as necessary starting from here | ||
|
||
build_script: | ||
- travis-tool.sh install_deps | ||
|
||
test_script: | ||
- travis-tool.sh run_tests | ||
|
||
on_failure: | ||
- 7z a failure.zip *.Rcheck\* | ||
- appveyor PushArtifact failure.zip | ||
|
||
artifacts: | ||
- path: '*.Rcheck\**\*.log' | ||
name: Logs | ||
|
||
- path: '*.Rcheck\**\*.out' | ||
name: Logs | ||
|
||
- path: '*.Rcheck\**\*.fail' | ||
name: Logs | ||
|
||
- path: '*.Rcheck\**\*.Rout' | ||
name: Logs | ||
|
||
- path: '\*_*.tar.gz' | ||
name: Bits | ||
|
||
- path: '\*_*.zip' | ||
name: Bits |
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,12 @@ | ||
comment: false | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 1% | ||
patch: | ||
default: | ||
target: auto | ||
threshold: 1% |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.