Skip to content

Commit

Permalink
Clean up example docs for parseHeader()
Browse files Browse the repository at this point in the history
- modified example for parseHeader() to
  print list elements separately, rather
  than full object, which slowed website
  rendering
  • Loading branch information
scheidec authored and stufield committed Apr 10, 2024
1 parent e66fd18 commit 3ca3f98
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion R/parseHeader.R
Expand Up @@ -19,7 +19,15 @@
#' f <- system.file("extdata", "example_data10.adat",
#' package = "SomaDataIO", mustWork = TRUE)
#' header <- parseHeader(f)
#' header
#' names(header)
#'
#' header$Header.Meta
#'
#' header$file_specs
#'
#' header$row_meta
#'
#' head(as.data.frame(header$Col.Meta))
#' @importFrom stats setNames
#' @importFrom tibble enframe
#' @export
Expand Down
10 changes: 9 additions & 1 deletion man/parseHeader.Rd

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

0 comments on commit 3ca3f98

Please sign in to comment.