Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
hermansje committed Oct 25, 2019

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent b236624 commit a18efe6
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions R/check-function.R
Original file line number Diff line number Diff line change
@@ -59,7 +59,6 @@
#'
#' # SCT
#' ex() %>% check_operator("+") %>% check_result() %>% check_equal()
#' }
#'
#' # Example 4: Positional argument check
#' cor(rnorm(10), rnorm(10))
@@ -72,14 +71,15 @@
#'
#' # Example 5: ... in check_args
#'
#'soln <- "std_dev <- purrr::compose(sqrt, var, .dir='forward')"
#'state <- setup_state(soln, soln)
#'state %>% check_function(., "compose") %>% {
#' check_arg(., '..1') %>% check_equal() # sqrt
#' check_arg(., '..2') %>% check_equal() # var
#' check_arg(., '.dir') %>% check_equal()
#'}
#' soln <- "std_dev <- purrr::compose(sqrt, var, .dir='forward')"
#' state <- setup_state(soln, soln)
#' state %>% check_function(., "compose") %>% {
#' check_arg(., '..1') %>% check_equal() # sqrt
#' check_arg(., '..2') %>% check_equal() # var
#' check_arg(., '.dir') %>% check_equal()
#' }
#'
#' }
#' @name check_function

#' @rdname check_function
8 changes: 4 additions & 4 deletions man/check_function.Rd

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

0 comments on commit a18efe6

Please sign in to comment.