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