Skip to content

Commit

Permalink
bug fixes related to name change
Browse files Browse the repository at this point in the history
  • Loading branch information
colinpmillar committed May 31, 2017
1 parent 0c808c5 commit b3cd7f8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Expand Up @@ -7,8 +7,8 @@ os:

language: r
r:
- oldrel
- release
- devel

sudo: false

Expand All @@ -17,6 +17,8 @@ repos:

r_packages:
- rmarkdown
- covr
- testthat

cache: packages

Expand All @@ -25,9 +27,6 @@ notifications:
on_success: change
on_failure: change

r_github_packages:
- jimhester/covr

after_success:
- Rscript -e 'library(covr);codecov()'

8 changes: 4 additions & 4 deletions DESCRIPTION
@@ -1,9 +1,9 @@
Package: icesSD
Version: 1.0-0
Date: 2016-11-10
Version: 1.1-0
Date: 2017-05-31
Title: Stock Database Web Services
Authors@R: c(person("Colin", "Millar", role="aut"),
person("Scott", "Large", role=c("aut","cre"), email="scott.large@ices.dk"),
Authors@R: c(person("Colin", "Millar", role=c("aut","cre"), email = "colin.millar@ices.dk"),
person("Scott", "Large", role="aut"),
person("Arni", "Magnusson", role="aut"))
Imports: curl,
jsonlite
Expand Down
2 changes: 1 addition & 1 deletion R/getSD.R
Expand Up @@ -9,7 +9,7 @@
#' \code{\link{icesSD-package}} gives an overview of the package.
#'
#' @examples
#' sldata <- getSLD()
#' sddata <- getSD()
#'
#' @export

Expand Down
2 changes: 1 addition & 1 deletion R/showStock.R
Expand Up @@ -23,7 +23,7 @@

showStock <- function(stock, year = NULL, quiet = FALSE)
{
sddata <- getSLD()
sddata <- getSD()
out <- sddata[sddata$StockCode == stock,]
if (is.null(year))
year <- max(out$ActiveYear)
Expand Down
2 changes: 1 addition & 1 deletion man/getSD.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat.R
Expand Up @@ -2,4 +2,4 @@
library(testthat)

## test package
test_check('icesSLD')
test_check('icesSD')
2 changes: 1 addition & 1 deletion tests/testthat/test-test.R
@@ -1,5 +1,5 @@
context('webservice access')

test_that('Webservice access is okay', {
expect_is(checkSLDWebserviceOK(), "logical")
expect_is(checkSDWebserviceOK(), "logical")
})

0 comments on commit b3cd7f8

Please sign in to comment.