Skip to content

Commit

Permalink
Fix #211
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsawriot committed Jan 12, 2025
1 parent 6b15d06 commit 0e4be3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ URL: https://docs.ropensci.org/readODS/, https://github.com/ropensci/readODS
BugReports: https://github.com/ropensci/readODS/issues
Imports:
cellranger,
minty,
minty (>= 0.0.5),
stringi,
tibble,
vctrs (>= 0.4.2),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Fix #207, trim off large or unused test files
* Fix #209, require R >= 4.0.0 due to `cpp11`
* Fix #211, fix a bug (in minty) for parsing cells with only spaces

# readODS 2.3.1

Expand Down
Binary file not shown.
4 changes: 4 additions & 0 deletions tests/testthat/test_read_ods.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,7 @@ test_that("Warns of empty sheet", {
expect_warning(read_fods("../testdata/empty.fods"))
})
})

test_that("minty v0.0.5 #211", {
expect_error(read_ods("../testdata/test_may_make_read_ods_crash_v2.ods", trim_ws = TRUE), NA)
})

0 comments on commit 0e4be3f

Please sign in to comment.