From 18b88cd0ec9f06db2987bbe2cbaba8b92fb7922c Mon Sep 17 00:00:00 2001 From: Rob Baker Date: Mon, 4 Nov 2024 13:35:38 -0700 Subject: [PATCH 1/3] fix bug in EMLscript that can make it difficult/confusing to enter user-input for the upload_data_package step. --- .../editable_eml_creation_workflow/skeleton/skeleton.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inst/rmarkdown/templates/editable_eml_creation_workflow/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/editable_eml_creation_workflow/skeleton/skeleton.Rmd index 6a9f721..b8254d8 100644 --- a/inst/rmarkdown/templates/editable_eml_creation_workflow/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/editable_eml_creation_workflow/skeleton/skeleton.Rmd @@ -357,10 +357,11 @@ DPchecker::run_congruence_checks() If everything checked out, you should be ready to upload your data package! We recommend using `upload_data_package()` to accomplish this. The function automatically checks your DOI and uploads to the correct reference on DataStore. All of your files for the data package need to be in the same folder, there can be only one .xml file (ending in "_metadata.xml") and all the other files should be data files in .csv format. Each individual file should be < 32Mb. If you have files > 32Mb, you will need to upload them manually using the web interface on DataStore. ```{r upload} # this assumes your data package is in the current working directory -EMLeditor::upload_data_package() # If your data package is somewhere else, specify that: #upload_data_package("C:/Users//Documents/my_data_package) + +EMLeditor::upload_data_package() ``` From within DataStore you should be able to extract all the information from the metadata file to populate the relevant DataStore fields. In the upper right, select "Edit" from the drop down menu. Then click on the "Files and Links" tab. On the left side of the files list, select the radio button corresponding to your metadata. Then click the "Extract Metadata" button from the top right of box with the files listed in it. From d2e4c33d68171ceeb38f1aeb5f65fa5191ca8835 Mon Sep 17 00:00:00 2001 From: Rob Baker Date: Mon, 4 Nov 2024 13:37:00 -0700 Subject: [PATCH 2/3] Add comments on adjusting EMLscript to make it more user friendly. --- NEWS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index d7efc95..8b58784 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,6 @@ # EMLeditor v0.1.7 (under development) +## 2024-11-04 + * Fix documentation in EMLscript code chunk that can make it difficult/confusing to enter user input after running the `upload_data_package` function. ## 2024-10-23 * updates and fixes to documentation including spelling, grammar, and clarity * remove non-exported functions from documentation From 2c67a3f1f96f1b3d280ec0832f92e1d4b9af2c60 Mon Sep 17 00:00:00 2001 From: Rob Baker Date: Mon, 4 Nov 2024 13:44:23 -0700 Subject: [PATCH 3/3] update via pkgdown::build_site_github_pages() --- docs/news/index.html | 5 +++-- docs/pkgdown.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/news/index.html b/docs/news/index.html index 4c6de01..0e472f7 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -72,8 +72,9 @@

Changelog

-

2024-10-23

-
  • updates and fixes to documentation including spelling, grammar, and clarity
  • +

    2024-11-04

    +
    • Fix documentation in EMLscript code chunk that can make it difficult/confusing to enter user input after running the upload_data_package function. ## 2024-10-23
    • +
    • updates and fixes to documentation including spelling, grammar, and clarity
    • remove non-exported functions from documentation
    • move several packages from Imports to Suggests (ISOcodes, sf, gdata)
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index a9f2cfb..c764eaa 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -7,4 +7,4 @@ articles: a03_Template_edits: a03_Template_edits.html a04_Editing_fixing_eml: a04_Editing_fixing_eml.html a05_advanced_functionality: a05_advanced_functionality.html -last_built: 2024-10-23T14:29Z +last_built: 2024-11-04T20:37Z