Skip to content

Commit ef00b85

Browse files
committed
Fixed README badge and remstimate unit test
1 parent d25a3c1 commit ef00b85

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ remotes::install_github("leifeld/texreg")
2828
Please feel free to report bugs or suggested enhancements using the [issue tracker](http://github.com/leifeld/texreg/issues) and propose solutions for known bugs using a pull request. Please observe and follow the code formatting in the texreg package when doing so, and add (or update) `testthat` unit tests to your pull requests if possible.
2929

3030
[![CRAN check and test](https://github.com/leifeld/texreg/actions/workflows/CRAN%20check%20and%20test.yaml/badge.svg)](https://github.com/leifeld/texreg/actions/workflows/CRAN%20check%20and%20test.yaml)
31-
[![cran version](http://www.r-pkg.org/badges/version/texreg)](https://cran.r-project.org/package=texreg)
31+
[![cran version](https://www.r-pkg.org/badges/version/texreg)](https://cran.r-project.org/package=texreg)
3232
[![downloads](https://cranlogs.r-pkg.org/badges/texreg)](http://cranlogs.r-pkg.org/badges/texreg)
3333
[![total downloads](https://cranlogs.r-pkg.org/badges/grand-total/texreg)](http://cranlogs.r-pkg.org/badges/grand-total/texreg)
3434
[![Research software impact](http://depsy.org/api/package/cran/texreg/badge.svg)](http://depsy.org/package/r/texreg)

tests/testthat/test-extract.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,6 @@ test_that("extract remstimate objects from the remstimate package", {
886886
method = "BSIR",
887887
ncores = 1)
888888
mr1 <- matrixreg(list(rem1, rem2, rem3, rem4))
889-
expect_equal(as.numeric(object.size(mr1)), 3712)
890889
expect_true("matrix" %in% class(mr1))
891890
expect_equal(nrow(mr1), 14)
892891
expect_equal(ncol(mr1), 5)
@@ -917,7 +916,6 @@ test_that("extract remstimate objects from the remstimate package", {
917916
expect_length(tr5[[2]]@gof, 5)
918917
expect_equal(tr5[[2]]@model.name, "receiver_model")
919918
mr2 <- matrixreg(list(rem5, rem6, rem7))
920-
expect_equal(as.numeric(object.size(mr2)), 3856)
921919
expect_true("matrix" %in% class(mr2))
922920
expect_equal(nrow(mr2), 12)
923921
expect_equal(ncol(mr2), 7)

0 commit comments

Comments
 (0)