You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - I'm not sure if this is exactly the same issue as @jimbrig experienced, but I also encountered an issue with keywords in the biblio.csv metadata file so wanted to chime in.
Here's what I did: I started by creating a rather minimal metadata file (say eml.xml) in EML format using the EML and EMLassemblyline packages. I confirmed that eml.xml is valid in EML, but perhaps notably this file does not contain any keyword info. I then converted this file into dataspice metadata tables using the function eml_to_spice(). When I then tried to use the function write_spice() on these tables, I received the error message:
> eml <- read_eml("eml.xml")
> my_spice <- eml_to_spice(eml, path = ".")
> write_spice(path = ".")
Error in if (is.na(biblio$keywords)) { : argument is of length zero
In addition: Warning message:
Unknown or uninitialised column: `keywords`.
It appears that the table biblio.csv was lacking the expected column keywords. Here are the columns present in each of the metadata tables produced by write_spice():
No description provided.
The text was updated successfully, but these errors were encountered: