Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <psolymos@gmail.com>
  • Loading branch information
psolymos committed Jun 3, 2023
1 parent 28c6c83 commit 50220e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/parsers.R
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,12 @@ config_list <- function(file = NULL, list = NULL, ...) {
#' inifile <- system.file("examples", "example.ini", package = "rconfig")
#'
#' ## not evaluating R expressions
#' op <- options("rconfig.eval" = FALSE)
#' ini <- rconfig::read_ini(file = inifile)
#' str(ini)
#'
#' ## evaluating R expressions
#' op <- options("rconfig.eval" = TRUE)
#' options("rconfig.eval" = TRUE)
#' ini <- rconfig::read_ini(file = inifile)
#' str(ini)
#'
Expand Down

0 comments on commit 50220e3

Please sign in to comment.