Skip to content

Commit

Permalink
Fixed README badge and remstimate unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
leifeld committed Jul 23, 2024
1 parent d25a3c1 commit ef00b85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ remotes::install_github("leifeld/texreg")
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.

[![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)
[![cran version](http://www.r-pkg.org/badges/version/texreg)](https://cran.r-project.org/package=texreg)
[![cran version](https://www.r-pkg.org/badges/version/texreg)](https://cran.r-project.org/package=texreg)
[![downloads](https://cranlogs.r-pkg.org/badges/texreg)](http://cranlogs.r-pkg.org/badges/texreg)
[![total downloads](https://cranlogs.r-pkg.org/badges/grand-total/texreg)](http://cranlogs.r-pkg.org/badges/grand-total/texreg)
[![Research software impact](http://depsy.org/api/package/cran/texreg/badge.svg)](http://depsy.org/package/r/texreg)
Expand Down
2 changes: 0 additions & 2 deletions tests/testthat/test-extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,6 @@ test_that("extract remstimate objects from the remstimate package", {
method = "BSIR",
ncores = 1)
mr1 <- matrixreg(list(rem1, rem2, rem3, rem4))
expect_equal(as.numeric(object.size(mr1)), 3712)
expect_true("matrix" %in% class(mr1))
expect_equal(nrow(mr1), 14)
expect_equal(ncol(mr1), 5)
Expand Down Expand Up @@ -917,7 +916,6 @@ test_that("extract remstimate objects from the remstimate package", {
expect_length(tr5[[2]]@gof, 5)
expect_equal(tr5[[2]]@model.name, "receiver_model")
mr2 <- matrixreg(list(rem5, rem6, rem7))
expect_equal(as.numeric(object.size(mr2)), 3856)
expect_true("matrix" %in% class(mr2))
expect_equal(nrow(mr2), 12)
expect_equal(ncol(mr2), 7)
Expand Down

0 comments on commit ef00b85

Please sign in to comment.