Skip to content

Issue converting EML to ISO #215

@yvanlebras

Description

@yvanlebras

Hi geometa team!

I am trying to use geometa to convert EML to ISO, I am using this command my_geometa_object <- as(emld, "ISOMetadata") using emld object created from an EML 2.2.0 xml file through emld <- as_emld(file_path), as it seems we need to use looking at the wiki https://github.com/eblondel/geometa/wiki

My error message:

Error in as(emld, "ISOMetadata"): no method or default for coercing “emld” to “ISOMetadata”
Traceback:

1. stop(gettextf("no method or default for coercing %s to %s", dQuote(thisClass), 
 .     dQuote(Class)), domain = NA)
2. .handleSimpleError(function (cnd) 
 . {
 .     watcher$capture_plot_and_output()
 .     cnd <- sanitize_call(cnd)
 .     watcher$push(cnd)
 .     switch(on_error, continue = invokeRestart("eval_continue"), 
 .         stop = invokeRestart("eval_stop"), error = NULL)
 . }, "no method or default for coercing “emld” to “ISOMetadata”", 
 .     base::quote(as(emld, "ISOMetadata")))

Sorry if this is just I am a stupid user ;)

Have a nice day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions