ropensci / EML

Ecological Metadata Language interface for R: synthesis and integration of heterogenous data
https://docs.ropensci.org/EML
Other
98 stars 33 forks source link

set_TextType result is an empty element #254

Closed twhiteaker closed 5 years ago

twhiteaker commented 5 years ago

set_TextType in the EML package (v.1.0.3) is returning an empty string when I specify a Word document or text file with some text in it. I think the EML package may not be finding the file correctly.

> file.exists("Abstract.1001.docx")
[1] TRUE
> a <- set_TextType(file = "Abstract.1001.docx")
> a
<TextType/>
> f <- system.file("Abstract.1001.docx", package = "EML")
> f
[1] ""

R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

cboettig commented 5 years ago

Thanks, can you try on the current version from GitHub, (v 1.99). (I think this was fixed in #231)

twhiteaker commented 5 years ago

Fixed in v 1.99. Thanks.