Skip to content

Commit

Permalink
different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Schouwenaars committed Mar 10, 2017
1 parent eca2aa2 commit e7eea3c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
5 changes: 3 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ check_sufficient <- function(calls, index, name) {
}

#' @importFrom magrittr %>%
#' @param code The code to execute
#'
#' @export
magrittr::`%>%`

# Execute code in the student environment
#' Execute code in the student environment
#' @param code The code to execute
#'
#' @export
execute_student <- function(code) {
try(eval(substitute(code), envir = get_student_env()))
Expand Down
14 changes: 14 additions & 0 deletions man/execute_student.Rd

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

3 changes: 0 additions & 3 deletions man/reexports.Rd

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

0 comments on commit e7eea3c

Please sign in to comment.