Description Usage Arguments Details Value Author(s) See Also Examples
Sets ISPP directives at the top of an ISS.
1 2 3 4 5 6 | directives_section(app_name, include_R = FALSE,
R_version = paste0(R.version$major, ".", R.version$minor),
include_Pandoc = FALSE, Pandoc_version = rmarkdown::pandoc_version(),
include_Chrome = FALSE, include_Rtools = FALSE,
Rtools_version = "3.5", app_version = "0.0.0", publisher = "",
main_url = "", custom_vars = "", custom_values = "")
|
app_name |
The name of the app. It will be displayed throughout the installer's window titles, wizard pages, and dialog boxes. See [Setup]:AppName for details. For continuous installations, |
include_R |
To include R in the installer, |
R_version |
R version to use. Supports inequalities. Defaults to: |
include_Pandoc |
To include Pandoc in the installer, |
Pandoc_version |
Pandoc version to use, defaults to: pandoc_available. |
include_Chrome |
To include Chrome in the installer, |
include_Rtools |
To include Rtools in the installer, |
Rtools_version |
Rtools version to include. For more information, see Building R for Windows. |
app_version |
Version number of the app being installed, defaults to |
publisher |
String displayed on the "Support" dialogue of the Add/Remove Programs Control Panel applet, defaults to " ". See [Setup]:AppPublisher for details. |
main_url |
String. Defaults to "". |
custom_vars |
String vector. Defaults to "", and must be the same length as |
custom_values |
String vector of values for |
ISPP directives automate compile-time tasks and decrease the probability
of typos. When referring to an ISPP directive, use
'{#var_name}'. For more information, call ispp_doc()
or visit
ISPP Help.
custom_vars
and custom_values
utilize the #define directive.
Chainable character vector, which can be used as the text
argument of writeLines
to generate an ISS.
Jonathan M. Hill
get_R
, copy_installation
, create_config
, create_bat
, directives_section
, setup_section
, languages_section
, tasks_section
, files_section
, icons_section
, run_section
, and code_section
.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
start_iss('myapp') %>%
directives_section(
include_R = FALSE, R_version = '3.3.2',
custom_vars = 'helpers',
custom_values = 'path\\to\\helpers') %>%
files_section(
app_dir = getwd(),
file_list = '{#helpers}')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.