Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

Commit

Permalink
Move the test package into the r-builder repo, #14
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Nov 20, 2014
1 parent 48620ea commit fcbb15f
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
@@ -0,0 +1,33 @@

language: c

before_install:
- curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh
- chmod 755 pkg-build.sh
- cp pkg-build.sh rbuildertest
- cd rbuildertest
- ./pkg-build.sh bootstrap

install:
- ./pkg-build.sh install_deps

script:
- ./pkg-build.sh run_build
- ./pkg-build.sh run_check

after_failure:
- ./pkg-build.sh dump_logs

notifications:
email:
on_success: change
on_failure: change

env:
matrix:
- RVERSION=3.0.3
- RVERSION=3.1.0
- RVERSION=3.1.1
- RVERSION=3.1.2
- RVERSION=devel

2 changes: 2 additions & 0 deletions rbuildertest/.Rbuildignore
@@ -0,0 +1,2 @@
^\.travis\.yml$
^tags$
10 changes: 10 additions & 0 deletions rbuildertest/DESCRIPTION
@@ -0,0 +1,10 @@
Package: rbuildertest
Title: A package to test r-builder
Version: 1.0.0
Authors@R: "Gabor Csardi <csardi.gabor@gmail.com> [aut, cre]"
Description: A package to test r-builder. We test this package
using various CI services, and https://github.com/gaborcsardi/r-builder.
License: MIT + file LICENSE
LazyData: true
URL: https://github.com/metacran/r-builder-test
BugReports: https://github.com/metacran/r-builder-test/issues
2 changes: 2 additions & 0 deletions rbuildertest/LICENSE
@@ -0,0 +1,2 @@
YEAR: 2014
COPYRIGHT HOLDER: Gabor Csardi
3 changes: 3 additions & 0 deletions rbuildertest/NAMESPACE
@@ -0,0 +1,3 @@
# Generated by roxygen2 (4.0.1): do not edit by hand

export(do_nothing)
10 changes: 10 additions & 0 deletions rbuildertest/R/package.r
@@ -0,0 +1,10 @@

#' Do nothing, at all
#'
#' @param x It is returned as it is
#' @return x
#' @export

do_nothing <- function(x) {
x
}
17 changes: 17 additions & 0 deletions rbuildertest/man/do_nothing.Rd
@@ -0,0 +1,17 @@
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{do_nothing}
\alias{do_nothing}
\title{Do nothing, at all}
\usage{
do_nothing(x)
}
\arguments{
\item{x}{It is returned as it is}
}
\value{
x
}
\description{
Do nothing, at all
}

6 changes: 6 additions & 0 deletions rbuildertest/tags
@@ -0,0 +1,6 @@
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.8 //

0 comments on commit fcbb15f

Please sign in to comment.