diff --git a/R/qenv-get_code.R b/R/qenv-get_code.R index 1af5630a..9985990a 100644 --- a/R/qenv-get_code.R +++ b/R/qenv-get_code.R @@ -36,7 +36,7 @@ #' _Case 2: Some objects are created by a function's side effects._ #' ```r #' q2 <- -#' within(qenv(){ +#' within(qenv(), { #' foo <- function() { #' x <<- x + 1 #' }