Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Qualify miniCRAN functions calls in Deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
nextpagesoft committed Oct 3, 2021
1 parent d99a8ef commit 098295a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Server/utils/Deploy.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ depPkgs <- setdiff(
depPkgs,
c('R', 'hivModelling', 'grid', 'graphics', 'parallel', 'stats', 'tools', 'utils')
)
depPkgList <- pkgDep(depPkgs, repos = repoCRAN, type = 'source', suggests = FALSE)
depPkgList <- miniCRAN::pkgDep(depPkgs, repos = repoCRAN, type = 'source', suggests = FALSE)

if (dir.exists(repoPath)) {
unlink(repoPath, recursive = TRUE)
}
dir.create(repoPath, showWarnings = FALSE, recursive = TRUE)

makeRepo(depPkgList, path = repoPath, repos = repoCRAN, type = c('source', 'win.binary'))
oldPackages(path = repoPath)
updatePackages(path = repoPath, repos = repoCRAN, type = 'win.binary', ask = FALSE)
updatePackages(path = repoPath, repos = repoCRAN, type = 'source', ask = FALSE)
miniCRAN::makeRepo(depPkgList, path = repoPath, repos = repoCRAN, type = c('source', 'win.binary'))
miniCRAN::oldPackages(path = repoPath)
miniCRAN::updatePackages(path = repoPath, repos = repoCRAN, type = 'win.binary', ask = FALSE)
miniCRAN::updatePackages(path = repoPath, repos = repoCRAN, type = 'source', ask = FALSE)

# 2. BULID -----------------------------------------------------------------------------------------

Expand Down

0 comments on commit 098295a

Please sign in to comment.