Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Minor fix in example tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Qian, Hai committed Apr 17, 2014
1 parent cbcf366 commit 4450863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: PivotalR
Type: Package
Title: R front-end to PostgreSQL and Pivotal (Greenplum) database,
wrapper for MADlib
Version: 0.1.15.31
Version: 0.1.15.32
Date: 2014-03-10
Author: Predictive Analytics Team at Pivotal Inc. <[email protected]>,
with contributions from Data Scientist Team at Pivotal Inc.
Expand Down
2 changes: 1 addition & 1 deletion tests/test-examples.r
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fm <- summary(lm(rings ~ . - id - sex, data = dat.im))
test_that("Examples of value equivalent", {
## numeric values are the same, but names are not
## 4, 5, 6
expect_that(fdb$coef, equals(as.numeric(fm$coefficients[,1])))
expect_that(as.numeric(fdb$coef), equals(as.numeric(fm$coefficients[,1])))
expect_that(fdb$coef, is_equivalent_to(fm$coefficients[,1]))
expect_that(fdb$std_err, is_equivalent_to(fm$coefficients[,2]))
})
Expand Down

0 comments on commit 4450863

Please sign in to comment.