Skip to content

Commit

Permalink
1.1.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
“rafal.urn” committed Oct 26, 2024
1 parent 22ebfd4 commit d110fa1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ShinyWizard/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ShinyWizard
Title: An Interactive Wizard to Design, Build, and Deploy R Packages Demo Presentation
Version: 1.1.2.69
Version: 1.1.3.11
Authors@R:
person("Rafal", "Urniaz", , "rafal.urniaz@cantab.net", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-0192-2165"))
Expand Down
11 changes: 7 additions & 4 deletions ShinyWizard/inst/source/global.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ config$TempProjPathTabs <- paste0(tempdir(),"/SWTempProj/tabs/")
packages <- c("devtools", "shiny", "shinythemes", "shinydashboard", "shinyjs", "yaml", "readr", "stringr", "shinyWidgets", "bslib", "shinytest2")

# Try loading packages
installedPackages <- find.package(packages)
installedPackages <- basename(find.package(packages))

# # Differences installed vs not
# installedPackagesDiff <- setdiff(packages, installedPackages)
#
# stop("These packages must be installed: ", installedPackagesDiff)
#
# Install packages not yet installed
if (!(length(installedPackages) == length(packages))){
install.packages(packages)
}
#install.packages(installedPackagesDiff, verbose = FALSE, quiet = TRUE)

# Packages loading
invisible(lapply(packages, library, character.only = TRUE))
Expand Down

0 comments on commit d110fa1

Please sign in to comment.