Skip to content

Commit cb00045

Browse files
author
Jonathan Hill
committed
quick fix for CRAN
1 parent aea0d5b commit cb00045

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Authors@R: c(
2525
Maintainer: Jon Hill <jon.mark.hill@gmail.com>
2626
URL: www.ficonsulting.com
2727
BugReports: https://github.com/ficonsulting/RInno/issues
28-
Description: Installs shiny apps using Inno Setup, an open source software that builds installers for Windows programs <http://www.jrsoftware.org/ishelp/>.
28+
Description: Installs shiny apps packaged as stand-alone Electron apps using Inno Setup, an open source software that builds installers for Windows programs <http://www.jrsoftware.org/ishelp/>.
2929
License: GPL-3 | file LICENSE
3030
Encoding: UTF-8
3131
LazyData: true

R/code_section.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ code_section <- function(iss, R_version = paste0(">=", R.version$major, ".", R.v
3838
inequality,
3939
"numeric_version('", R_version, "')")
4040

41-
if (!R_version %in% R_versions) stop(glue::glue("R version - {R_version} - was not found on CRAN. Please use `R_version` to specify one that is or let us know if you think you received this message in error: \n\nhttps://github.com/ficonsulting/RInno/issues"), call. = FALSE)
41+
if (!R_version %in% R_versions && interactive()) stop(glue::glue("R version - {R_version} - was not found on CRAN. Please use `R_version` to specify one that is or let us know if you think you received this message in error: \n\nhttps://github.com/ficonsulting/RInno/issues"), call. = FALSE)
4242

4343
results <- unlist(lapply(version_specs, function(x) eval(parse(text = x))))
4444
acceptable_R_versions <-

0 commit comments

Comments
 (0)