Skip to content

Commit 76c4ccb

Browse files
authored
Fix #211 (#212)
1 parent 6b15d06 commit 76c4ccb

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ URL: https://docs.ropensci.org/readODS/, https://github.com/ropensci/readODS
2525
BugReports: https://github.com/ropensci/readODS/issues
2626
Imports:
2727
cellranger,
28-
minty,
28+
minty (>= 0.0.5),
2929
stringi,
3030
tibble,
3131
vctrs (>= 0.4.2),

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

67
# readODS 2.3.1
78

Binary file not shown.

tests/testthat/test_read_ods.R

+4
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,7 @@ test_that("Warns of empty sheet", {
165165
expect_warning(read_fods("../testdata/empty.fods"))
166166
})
167167
})
168+
169+
test_that("minty v0.0.5 #211", {
170+
expect_error(read_ods("../testdata/test_may_make_read_ods_crash_v2.ods", trim_ws = TRUE), NA)
171+
})

0 commit comments

Comments
 (0)