Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-98 committed Dec 5, 2023
1 parent f91d731 commit 9f7f974
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
11 changes: 8 additions & 3 deletions R/clean_code_blocks.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#' Clean code blocks returned by the agent
#'
#' This function cleans up the code blocks which
#' are returned by the agent to ensure code blocks
#' can run.
#' This function cleans up the response
#' returned by the agent to ensure code blocks
#' can run. It ensures that characters such as {r}, {R}
#' R and r are cleaned from code blocks in the agents
#' response, so that the code blocks are able to be extracted by
#' @seealso [extractCode()] and ran as expected. It also cleans
#' the response from any install.package calls, and recorded output,
#' so that when code blocks are extracted, the code can run smoothly.
#'
#' @param response response received from the agent
#'
Expand Down
13 changes: 10 additions & 3 deletions man/clean_code_blocks.Rd

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

0 comments on commit 9f7f974

Please sign in to comment.