Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
twhiteaker committed Oct 26, 2023
1 parent 1b35da8 commit c2a5f92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Version: 0.1.2
Authors@R: c(
person("An T.", "Nguyen", email = "enthusiast@utexas.edu", role = c("aut", "cre")),
person("Tim", "Whiteaker", email = "whiteaker@utexas.edu", role = "aut"))
Description: Utility functions for BLE LTER IM team
Description: This package contains utility functions for BLE LTER IM team.
License: CC BY 4.0
Encoding: UTF-8
LazyData: true
Expand Down
2 changes: 1 addition & 1 deletion R/insert_additional_metadata.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Insert additional metadata into an EML document
#' @description Sometime, for various reasons, additional metadata just needs to be inserted into EML documents manually. This is for quickly doing that in R. The function adds a snippet of plain text EML after a specified line number in the EML file. A pattern can also be defined for grep-ing the line number to append to (e.g. additional metadata needs to be inserted after a specific line). The defaults reflect BLE's need to add a snippet to aid replication of metadata to the Arctic Data Center that for a certain reason cannot be added via our normal means (the EML R package).
#' @param file (character) Path to EML file. Function will also write to this same file.
#' @param pattern (character) Grep pattern. \code{grep()} will be called on the contents of the file, and the first match will be used. Defaults to "<\dataset>".
#' @param pattern (character) Grep pattern. \code{grep()} will be called on the contents of the file, and the first match will be used. Defaults to "</dataset>".
#' @param addition (character) Plain text of EML snippet to insert. Defaults to an "additionalMetadata" node pertaining to replication I won't paste here.
#' @param after (numeric) A line number to append after. Only comes into play if pattern is not found. No defaults.
#' @return Nothing in the R environment, but a file with the snippet inserted where specified. File will remain the same
Expand Down
2 changes: 1 addition & 1 deletion man/insert_additional_metadata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/order_cp_cols.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c2a5f92

Please sign in to comment.