1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/params.R
\name{knit_params_ask}
\alias{knit_params_ask}
\title{Run a shiny application asking for parameter configuration for the given document.}
\usage{
knit_params_ask(
file = NULL,
input_lines = NULL,
params = NULL,
shiny_args = NULL,
save_caption = "Save",
encoding = "UTF-8"
)
}
\arguments{
\item{file}{Path to the R Markdown document with configurable parameters.}
\item{input_lines}{Content of the R Markdown document. If \code{NULL}, the contents of \code{file} will be read.}
\item{params}{A named list of optional parameter overrides used in place of the document defaults.}
\item{shiny_args}{Additional arguments to \code{\link[shiny:runApp]{runApp}}.}
\item{save_caption}{Caption to use use for button that saves/confirms parameters.}
\item{encoding}{Ignored. The encoding is always assumed to be UTF-8.}
}
\value{
named list with overridden parameter names and value.
}
\description{
Run a shiny application asking for parameter configuration for the given document.
}
|