diff --git a/R/load-read_vdat_csv.r b/R/load-read_vdat_csv.r index a2439542..24581814 100644 --- a/R/load-read_vdat_csv.r +++ b/R/load-read_vdat_csv.r @@ -1,5 +1,5 @@ #' Read data from an Innovasea Fathom VDAT CSV file -#' +#' #' Read data from an Innovasea Fathom VDAT CSV file #' #' @param src A character string with path and name of an Innovasea VDAT CSV @@ -34,8 +34,9 @@ #' #' @examples #' +#' \dontrun{ #' # Example 1. Read a single file -#' +#' #' vrl_file <- system.file("extdata", "detection_files_raw", #' "VR2W_109924_20110718_1.vrl", #' package = "glatos" @@ -102,7 +103,6 @@ #' ) #' ) #' -#' \dontrun{ #' #' # get current version of digits.secs #' op_digits.secs <- options()$digits.secs diff --git a/R/load-write_vdat_csv.r b/R/load-write_vdat_csv.r index d804f96c..6ffd201d 100644 --- a/R/load-write_vdat_csv.r +++ b/R/load-write_vdat_csv.r @@ -44,6 +44,7 @@ #' @author C. Holbrook (cholbrook@@usgs.gov) #' #' @examples +#' \dontrun{ #' #' # Example 1. Read and write a single file #' @@ -66,7 +67,7 @@ #' #' # write to multiple files #' write_vdat_csv(vdat, output_format = "csv.fathom.split") -#' +#' } #' @export write_vdat_csv <- function(vdat, record_types = NULL, diff --git a/man/read_vdat_csv.Rd b/man/read_vdat_csv.Rd index b59b7a07..efb65aef 100644 --- a/man/read_vdat_csv.Rd +++ b/man/read_vdat_csv.Rd @@ -41,6 +41,7 @@ present in the input Fathom CSV file, set \code{options(digits.secs = 6)}. } \examples{ +\dontrun{ # Example 1. Read a single file vrl_file <- system.file("extdata", "detection_files_raw", @@ -109,7 +110,6 @@ det2_dt <- rbindlist( ) ) -\dontrun{ # get current version of digits.secs op_digits.secs <- options()$digits.secs diff --git a/man/write_vdat_csv.Rd b/man/write_vdat_csv.Rd index fdf19361..c2b9080a 100644 --- a/man/write_vdat_csv.Rd +++ b/man/write_vdat_csv.Rd @@ -58,6 +58,7 @@ Write a vdat_list object to disk in Innovasea Fathom VDAT CSV format Writing is done via \code{\link[data.table]{fwrite}}. } \examples{ +\dontrun{ # Example 1. Read and write a single file @@ -80,7 +81,7 @@ write_vdat_csv(vdat) # write to multiple files write_vdat_csv(vdat, output_format = "csv.fathom.split") - +} } \author{ C. Holbrook (cholbrook@usgs.gov)