Skip to content

Commit 097bb32

Browse files
author
Lindsay Carr
authored
Merge pull request #461 from ldecicco-USGS/master
Use travis R
2 parents 42992ce + 75af52b commit 097bb32

File tree

3 files changed

+22
-32
lines changed

3 files changed

+22
-32
lines changed

.travis.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,32 @@
44
# see the wiki:
55
# https://github.com/craigcitro/r-travis/wiki
66

7-
language: objective-c
8-
sudo: required
7+
language: r
8+
cache: packages
9+
sudo: false
10+
dist: trusty
11+
12+
matrix:
13+
include:
14+
- os: linux
15+
r: release
16+
- os: linux
17+
r: devel
918

1019
env:
1120
global:
12-
- R_LIBS="http://cran.rstudio.com"
1321
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
1422
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
15-
- BOOTSTRAP_LATEX=""
1623
- NOT_CRAN="true"
24+
25+
warnings_are_errors: true
1726

18-
before_install:
19-
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
20-
- chmod 755 ./travis-tool.sh
21-
- ./travis-tool.sh bootstrap
22-
23-
install:
24-
- ./travis-tool.sh install_deps
25-
- ./travis-tool.sh install_r covr
26-
27-
script: ./travis-tool.sh run_tests
27+
r_github_packages:
28+
- jimhester/covr
2829

2930
after_success:
3031
- Rscript -e 'covr::coveralls()'
31-
32-
after_failure:
33-
- ./travis-tool.sh dump_logs
34-
32+
3533
notifications:
3634
email:
3735
on_success: change
@@ -40,3 +38,4 @@ notifications:
4038

4139

4240

41+

R/axis.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
#'
55
#' @param object gsplot object
66
#' @param \dots Further graphical parameters may also be supplied as arguments. See 'Details'.
7-
#' @param n.minor number of minor ticks between major ticks
8-
#' @param tcl.minor tick length for minor ticks (used if \code{n.minor} > 0). Use NA (the default) to have this
9-
#' calculated automatically as half of the value for \code{par('tcl')} at the time of rendering the axis.
10-
#' @param reverse flip the orientation of the axis?
11-
#' @param append replace or append an existing axis for this side (logical)
127
#'
138
#'
149
#' @details Additional graphical parameter inputs:
@@ -70,6 +65,11 @@ axis <- function(object, ...) {
7065
override("graphics", "axis", object, ...)
7166
}
7267

68+
#' @param n.minor number of minor ticks between major ticks
69+
#' @param tcl.minor tick length for minor ticks (used if \code{n.minor} > 0). Use NA (the default) to have this
70+
#' calculated automatically as half of the value for \code{par('tcl')} at the time of rendering the axis.
71+
#' @param reverse flip the orientation of the axis?
72+
#' @param append replace or append an existing axis for this side (logical)
7373
axis.gsplot <- function(object, ..., n.minor=0, tcl.minor=NA, reverse=NULL, append=FALSE) {
7474

7575
fun.name <- "axis"

man/axis.Rd

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)