diff --git a/docs/articles/RMD_vis_source.png b/docs/articles/RMD_vis_source.png new file mode 100644 index 0000000..816d8bf Binary files /dev/null and b/docs/articles/RMD_vis_source.png differ diff --git a/docs/articles/R_citation_manager.png b/docs/articles/R_citation_manager.png new file mode 100644 index 0000000..59eccbb Binary files /dev/null and b/docs/articles/R_citation_manager.png differ diff --git a/docs/articles/Using-the-DRR-Template.html b/docs/articles/Using-the-DRR-Template.html index 13c9019..9a3eff1 100644 --- a/docs/articles/Using-the-DRR-Template.html +++ b/docs/articles/Using-the-DRR-Template.html @@ -281,6 +281,17 @@
Once a reference is in your references.bib file, using the Visual view of the template you can simply type the ‘@’ symbol and select which reference to insert in the text.
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 86db221..23c641a 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -5,5 +5,5 @@ articles: DRR_Purpose_and_Scope: DRR_Purpose_and_Scope.html Starting-a-DRR: Starting-a-DRR.html Using-the-DRR-Template: Using-the-DRR-Template.html -last_built: 2024-02-09T19:12Z +last_built: 2024-02-09T20:36Z diff --git a/inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd index 7c71940..86b263a 100644 --- a/inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd @@ -7,16 +7,23 @@ csl: national-park-service-DRR.csl --- ```{=html} - ``` + ```{r user_edited_parameterss, include=FALSE} -# The title of your DRR. Should all DRR start with "Data Release Report:"? Should we enforce titles specifically referencing the data package(s) they the report is about? +# The title of your DRR. Should all DRR start with "Data Release Report:"? Should we enforce titles specifically referencing the data package(s) the Report is about? title <- "DRR Title" # Optional and should only be included if publishing to the semi-official DRR series. Contact Joe if you are. If not, leave as NULL @@ -47,14 +54,16 @@ authorNames <- c( #Note that the entirety of each affiliation is enclosed in quotations. Do not worry about indentation or word wrapping. authorAffiliations <- c( - "NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado", + "NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado", + "Managed Business Solutions (MBS), a Sealaska Company, Contractor to the National Park Service, Natural Resource Stewardship and Science Directorate, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado", + "Managed Business Solutions (MBS), a Sealaska Company, Contractor to the National Park Service, Natural Resource Stewardship and Science Directorate, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado" ) # List the ORCID iDs for each author in the format "(xxxx-xxxx-xxxx-xxxx)". If an author does not have an ORCID iD, specify NA (no quotes). If an author is listed more than once (for instance because they have multiple institutional affiliations), the ORCID iD must also be listed more than once. For more information on ORCID iDs and to register an ORCID iD, see https://www.orcid.org. -#The order of the ORCID iDs must match the order of authors in AuthorNames.In this example, Jane Doe has an ORCID iD but John Doe does not. Jane's ORCID iD is listed twice because she her name is listed twice in authorNames(because she has two authorAffiliations). +# The order of the ORCID iDs must match the order of authors in AuthorNames.In this example, Jane Doe has an ORCID iD but John Doe does not. Jane's ORCID iD is listed twice because she her name is listed twice in authorNames(because she has two authorAffiliations). authorORCID <- c( "(0000-1111-2222-3333)", "(0000-1111-2222-3333)", NA ) diff --git a/vignettes/articles/RMD_vis_source.png b/vignettes/articles/RMD_vis_source.png new file mode 100644 index 0000000..816d8bf Binary files /dev/null and b/vignettes/articles/RMD_vis_source.png differ diff --git a/vignettes/articles/R_citation_manager.png b/vignettes/articles/R_citation_manager.png new file mode 100644 index 0000000..59eccbb Binary files /dev/null and b/vignettes/articles/R_citation_manager.png differ diff --git a/vignettes/articles/Using-the-DRR-Template.Rmd b/vignettes/articles/Using-the-DRR-Template.Rmd index 8b88ed6..df1a985 100644 --- a/vignettes/articles/Using-the-DRR-Template.Rmd +++ b/vignettes/articles/Using-the-DRR-Template.Rmd @@ -2,15 +2,6 @@ title: "Using the DRR Template" --- ---- -title: "Using the DRR Template" -output: rmarkdown::html_vignette -vignette: > - %\VignetteIndexEntry{Using the DRR Template} - %\VignetteEnging{knitr::rmarkdown} - %\VignetteEncoding{UTF-8} ---- - ```{r setup, include=FALSE} RRpackages <- c('markdown', # links to Sundown rendering library 'rmarkdown', # newer rendering via pandoc @@ -218,12 +209,12 @@ automatically insert the bibtex for the reference into your references.bib file (and customize the unique identifier if you'd like) and insert the in-text citation into the DRR template. -```{r fig2, echo=FALSE, out.width="75%", fig.align="center", fig.cap="Adding Citations - Source vs. Visual editing of the Template and how to access the citation manager."} -#knitr::include_graphics("RMD_vis_source.png") +```{r fig2, echo=FALSE, out.width="50%", out.height="50%", fig.align="center", fig.cap="Adding Citations - Source vs. Visual editing of the Template and how to access the citation manager."} +knitr::include_graphics("RMD_vis_source.png") ``` -```{r fig3, echo=FALSE, out.width="75%", fig.align="center", fig.cap="Adding Citations - Using the citation manager."} -#knitr::include_graphics("R_citation_manager.png") +```{r fig3, echo=FALSE, out.width="50%", out.width="50%", fig.align="center", fig.cap="Adding Citations - Using the citation manager."} +knitr::include_graphics("R_citation_manager.png") ``` Once a reference is in your references.bib file, using the Visual view