included shiny app with package, bslib, documentation, fixing NA bug

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-15 20:42:25 +01:00
commit 3cfdb66a32
21 changed files with 767 additions and 270 deletions

View file

@ -2,7 +2,7 @@
local({
# the requested version of renv
version <- "1.0.9"
version <- "1.0.11"
attr(version, "sha") <- NULL
# the project directory
@ -368,8 +368,7 @@ local({
quiet = TRUE
)
if ("headers" %in% names(formals(utils::download.file)))
{
if ("headers" %in% names(formals(utils::download.file))) {
headers <- renv_bootstrap_download_custom_headers(url)
if (length(headers) && is.character(headers))
args$headers <- headers
@ -457,9 +456,8 @@ local({
# add custom headers if available -- note that
# utils::available.packages() will pass this to download.file()
if ("headers" %in% names(formals(utils::download.file)))
{
headers <- renv_bootstrap_download_custom_headers(url)
if ("headers" %in% names(formals(utils::download.file))) {
headers <- renv_bootstrap_download_custom_headers(repos)
if (length(headers) && is.character(headers))
args$headers <- headers
}