Describe the bug
I was running an older NPS EML Creation Workflow script, it used EML Editor's set_cui function. The error message led me to another function that was not found. This "bug" is only to update the error message language to the new set_cui_code function.
To Reproduce
Steps to reproduce the behavior:
Run old code: my_metadata <- set_cui(my_metadata, "PUBLIC")
Error message reads: Warning: set_cui() was deprecated in EMLeditor 0.1.5.
Please use set_cui_dissem() instead.
set_cui_dissem() gives this message: could not find function "set_cui_dissem"
Expected behavior
Please change the error message to the new set_cui_code function.
Example of new message:
Error message reads: Warning: set_cui() was deprecated in EMLeditor 0.1.5.
Please use set_cui_code() instead.
Describe the bug I was running an older NPS EML Creation Workflow script, it used EML Editor's set_cui function. The error message led me to another function that was not found. This "bug" is only to update the error message language to the new set_cui_code function.
To Reproduce Steps to reproduce the behavior:
set_cui()
was deprecated in EMLeditor 0.1.5. Please useset_cui_dissem()
instead.Expected behavior Please change the error message to the new set_cui_code function. Example of new message: Error message reads: Warning:
set_cui()
was deprecated in EMLeditor 0.1.5. Please useset_cui_code()
instead.Also, correct instructions for set_cui to set_cui_code on this page: https://nationalparkservice.github.io/EMLeditor/articles/a02_EML_creation_script.html