Skip to content

Commit

Permalink
example changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-98 committed Dec 7, 2023
1 parent 4fa2ba7 commit c1489ff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/extractFilenames.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param text user prompt
#' @returns A list holding file names from the user prompt.
#' @examples
#' \donttest{
#' {
#' user_prompt <- "How do I perform PCA on data in my file called test.txt?"
#' extractFilenames(text=user_prompt)
#' }
Expand Down
4 changes: 3 additions & 1 deletion R/fileHeaderPrompt.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#' @param filenames list containing filenames.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' prompt <- "how do I perform PCA on data in a file called test.txt?"
#' filenames <- extractFilenames(prompt)
#' fileHeaderPrompt(filenames)
#' }
#' @export
Expand Down
2 changes: 1 addition & 1 deletion man/extractFilenames.Rd

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

4 changes: 3 additions & 1 deletion man/fileHeaderPrompt.Rd

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

0 comments on commit c1489ff

Please sign in to comment.