No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
7 changed files with
74 additions and
0 deletions
-
.gitignore
-
DESCRIPTION
-
NEWS.md
-
R/package.r
-
README.Rmd
-
tests/test-all.R
-
tests/testthat/test-PACKAGE.R
|
|
@ -0,0 +1,3 @@ |
|
|
|
.Rproj.user |
|
|
|
.Rhistory |
|
|
|
.RData |
|
|
@ -0,0 +1,14 @@ |
|
|
|
Package: scimple |
|
|
|
Title: scimple TITLE |
|
|
|
Version: 0.1.0 |
|
|
|
Encoding: UTF-8 |
|
|
|
Authors@R: c(person("Bob", "Rudis", role = c("aut", "cre"), email = "bob@rud.is")) |
|
|
|
Maintainer: Bob Rudis <bob@rud.is> |
|
|
|
Description: scimple DESCRIPTION |
|
|
|
Depends: R (>= 3.2.0) |
|
|
|
License: AGPL |
|
|
|
URL: https://github.com/hrbrmstr/scimple |
|
|
|
BugReports: https://github.com/hrbrmstr/scimple/issues |
|
|
|
LazyData: true |
|
|
|
Suggests: testthat |
|
|
|
Imports: purrr |
|
|
@ -0,0 +1,2 @@ |
|
|
|
0.1.0 |
|
|
|
* Initial release |
|
|
@ -0,0 +1,7 @@ |
|
|
|
#' Tools to ... |
|
|
|
#' |
|
|
|
#' @name scimple |
|
|
|
#' @docType package |
|
|
|
#' @author Bob Rudis (bob@@rud.is) |
|
|
|
#' @import purrr |
|
|
|
NULL |
|
|
@ -0,0 +1,40 @@ |
|
|
|
--- |
|
|
|
output: rmarkdown::github_document |
|
|
|
--- |
|
|
|
|
|
|
|
scimple : Tools to ... |
|
|
|
|
|
|
|
The following functions are implemented: |
|
|
|
|
|
|
|
The following data sets are included: |
|
|
|
|
|
|
|
### Installation |
|
|
|
|
|
|
|
```{r eval=FALSE} |
|
|
|
devtools::install_github("hrbrmstr/scimple") |
|
|
|
``` |
|
|
|
|
|
|
|
```{r message=FALSE, warning=FALSE, error=FALSE} |
|
|
|
options(width=120) |
|
|
|
``` |
|
|
|
|
|
|
|
### Usage |
|
|
|
|
|
|
|
```{r message=FALSE, warning=FALSE, error=FALSE} |
|
|
|
library(scimple) |
|
|
|
|
|
|
|
# current verison |
|
|
|
packageVersion("scimple") |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
### Test Results |
|
|
|
|
|
|
|
```{r message=FALSE, warning=FALSE, error=FALSE} |
|
|
|
library(scimple) |
|
|
|
library(testthat) |
|
|
|
|
|
|
|
date() |
|
|
|
|
|
|
|
test_dir("tests/") |
|
|
|
``` |
|
|
@ -0,0 +1,2 @@ |
|
|
|
library(testthat) |
|
|
|
test_check("scimple") |
|
|
@ -0,0 +1,6 @@ |
|
|
|
context("basic functionality") |
|
|
|
test_that("we can do something", { |
|
|
|
|
|
|
|
#expect_that(some_function(), is_a("data.frame")) |
|
|
|
|
|
|
|
}) |