Skip to content

Commit

Permalink
updates examples in curate functions to be working examples
Browse files Browse the repository at this point in the history
  • Loading branch information
francojc committed Dec 5, 2024
1 parent 6341076 commit 2e7b5bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
4 changes: 1 addition & 3 deletions R/curate_enntt_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@
#' }
#'
#' @examples
#' \dontrun{
#' # Example using simulated data bundled with the package
#' example_data <- system.file("extdata", "simul_enntt", package = "mypkgname")
#' example_data <- system.file("extdata", "simul_enntt", package = "qtkit")
#' curated_data <- curate_enntt_data(example_data)
#'
#' str(curated_data)
#' }
#'
#' @importFrom xml2 xml_attr xml_find_all read_html
#'
Expand Down
4 changes: 1 addition & 3 deletions R/curate_swda_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
#' }
#'
#' @examples
#' \dontrun{
#' # Example using simulated data bundled with the package
#' example_data <- system.file("extdata", "simul_swda", "sw00utt", package = "mypkgname")
#' example_data <- system.file("extdata", "simul_swda", package = "qtkit")
#' swda_data <- curate_swda_data(example_data)
#'
#' str(swda_data)
#' }
#'
#' @export
curate_swda_data <- function(dir_path) {
Expand Down
7 changes: 3 additions & 4 deletions man/curate_enntt_data.Rd

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

8 changes: 3 additions & 5 deletions man/curate_swda_data.Rd

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

0 comments on commit 2e7b5bf

Please sign in to comment.