Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agosiewska committed May 8, 2018
1 parent 5f51927 commit 68338e0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/plot_ModelAudit.R
Expand Up @@ -11,7 +11,7 @@
#'
#' @seealso \code{\link{plotACF}, \link{plotAutocorrelation}, \link{plotCumulativeGain}, \link{plotCooksDistance},
#' \link{plotHalfNormal}, \link{plotResidual}, \link{plotLIFT}, \link{plotModelPCA}, \link{plotModelCorrelation},
#' \link{plotPrediction}, \link{plotREC}, \link{plotResidualDensity}, \link{plotResiduals}, \link{plotROC},
#' \link{plotPrediction}, \link{plotREC}, \link{plotResidualDensity}, \link{plotResidual}, \link{plotROC},
#' \link{plotRROC}, \link{plotScaleLocation}, \link{plotTwoSidedECDF}}
#'
#' @importFrom grDevices devAskNewPage
Expand Down
1 change: 1 addition & 0 deletions auditor.Rproj
Expand Up @@ -18,4 +18,5 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace
2 changes: 1 addition & 1 deletion man/plot.modelAudit.Rd

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

4 changes: 2 additions & 2 deletions tests/testthat/test_scores.R
Expand Up @@ -19,8 +19,8 @@ test_that("scoreRuns", {
})

test_that("scoreCook", {
expect_is(scoreCook(au.lm), "numeric")
expect_is(scoreCook(au.rf), "numeric")
expect_is(scoreCooksDistance(au.lm), "numeric")
expect_is(scoreCooksDistance(au.rf), "numeric")
})


Expand Down

0 comments on commit 68338e0

Please sign in to comment.