Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
robertzk committed Mar 1, 2015
0 parents commit 0781c28
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: c
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- "./travis-tool.sh bootstrap"
install:
- "./travis-tool.sh install_deps"
- "./travis-tool.sh install_r microbenchmark knitr testthat"
- "./travis-tool.sh install_github jimhester/covr"
script: "./travis-tool.sh run_tests"
after_failure:
- "./travis-tool.sh dump_logs"
after_success:
- Rscript -e 'library(covr);coveralls()'
notifications:
email:
on_success: change
on_failure: change
hipchat:
rooms:
secure: hhfyL8sY0Ld3Bsn547BA0Mm2h9EFxg3gwwyyXIujB9PnMk96Xu/QGzbYonUwYgthgfWzPcxRhqS5oNQaLA95hextFkiHTkgRmXBUwg2uNfjsh88VY93xuhjEnr2ewboh83+uInfPbCqsYYIrfRqU1PZjuyEll3aL//skZjgDavE=
on_success: change
on_failure: change
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
| Details: %{build_url} | Changes: %{compare_url}"
env:
- global:
- WARNINGS_ARE_ERRORS=1
- _R_CHECK_FORCE_SUGGESTS_=0
21 changes: 21 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Package: super
Type: Package
Title: super (http://github.com/robertzk/super)
Description: Giving R the ability to invoke "parent" methods
without the use of S3 generics.
Version: 0.1.0
Author: Robert Krzyzanowski <technoguyrob@gmail.com>
Maintainer: Robert Krzyzanowski <technoguyrob@gmail.com>
Authors@R: c(person("Robert", "Krzyzanowski",
email = "technoguyrob@gmail.com", role = c("aut", "cre")))
Depends:
R (>= 3.0.1)
License: MIT
LazyData: true
Imports:
stringr
Suggests:
knitr,
microbenchmark,
testthat
Roxygen: list(wrap = FALSE)
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Generated by roxygen2 (4.1.0.9000): do not edit by hand

import(stringr)
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Version 0.1.0

* The initial creation of the package.
7 changes: 7 additions & 0 deletions R/package.super.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' Giving R the ability to invoke "parent" methods
#' without the use of S3 generics.
#'
#' @name super
#' @import stringr
#' @docType package
NULL
4 changes: 4 additions & 0 deletions R/pending.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pending <- function() {
TRUE
}

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
R Package Template [![Build Status](https://travis-ci.org/robertzk/r-package-template.svg?branch=master)](https://travis-ci.org/robertzk/r-package-template.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/robertzk/r-package-template/badge.svg?branch=master)](https://coveralls.io/r/robertzk/r-package-template)
===========

This repository offers a basic template for R packages that already includes
Travis and [covr](http://github.com/jimhester/covr) integration.


13 changes: 13 additions & 0 deletions man/super.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
% Generated by roxygen2 (4.1.0.9000): do not edit by hand
% Please edit documentation in R/package.super.R
\docType{package}
\name{super}
\alias{super}
\alias{super-package}
\title{Giving R the ability to invoke "parent" methods
without the use of S3 generics.}
\description{
Giving R the ability to invoke "parent" methods
without the use of S3 generics.
}

3 changes: 3 additions & 0 deletions tests/test-all.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library("testthat")
library("super")
test_check("super")
3 changes: 3 additions & 0 deletions tests/testthat/test-pending.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
context('pending')

test_that('it is pending', { expect_true(pending()) })

0 comments on commit 0781c28

Please sign in to comment.