Skip to content

Commit

Permalink
add: R packages
Browse files Browse the repository at this point in the history
  • Loading branch information
YONGHUNI committed Oct 13, 2024
1 parent cd82e32 commit 41c6ecd
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 10 deletions.
2 changes: 1 addition & 1 deletion _freeze/posts/pyenvsetting/index/execute-results/html.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion renv.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ library(yaml)
library(knitr)
library(rmarkdown)
library(renv)
library(downlit)

library(doParallel)

Expand All @@ -15,16 +16,23 @@ library(vip)
library(fastshap)
library(treeshap)

library(spatialreg)
library(sfdep)
library(spdep)
library(rgeoda)


library(tidyverse)
library(data.table)
library(lubridate)
library(xml2)
library(reshape2)
library(matrixStats)
library(SpatialAcc)


library(rvest)
library(xml2)


library(sf)
library(geojsonsf)
Expand Down
10 changes: 4 additions & 6 deletions renv/activate.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
local({

# the requested version of renv
version <- "1.0.10"
version <- "1.0.11"
attr(version, "sha") <- NULL

# the project directory
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down
Loading

0 comments on commit 41c6ecd

Please sign in to comment.