More advanced automatic Windows installer

This commit is contained in:
hollorol 2019-01-16 01:34:07 +01:00
parent 019030e686
commit 9c919c09ec
3 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Package: RBBGCMuso
Title: An R package for BiomeBGC-MuSo ecosystem modelling
Version: 0.6.0.1-0
Version: 0.6.1
Authors@R: person("Roland", "Hollo's", , "hollorol@gmail.com", role = c("aut", "cre"))
Description: What the package does (one paragraph).
Depends: R (>= 3.3.2)

BIN
RBBGCMuso_0.6.1.zip Normal file

Binary file not shown.

View File

@ -1,5 +1,4 @@
basePackages <- c("dplyr","digest","ggplot2","shiny","latex2expr",
"magrittr","tibble","tidyr","limSolve")
install.packages(basePackages)
install.packages("https://github.com/hollorol/RBBGCMuso/raw/master/RBBGCMuso_0.6.0.1-0.zip", repos = NULL, type = "win.binary")
rm(basePackages)
install.packages(c("dplyr","digest","ggplot2","shiny","latex2expr",
"magrittr","tibble","tidyr","limSolve"))
.RBBGCMusoVersion <- gsub("Version\\:\\s","",grep("Version",readLines("https://github.com/hollorol/RBBGCMuso/raw/master/RBBGCMuso/DESCRIPTION"),value=TRUE))
install.packages(paste0("https://github.com/hollorol/RBBGCMuso/raw/master/RBBGCMuso_",.RBBGCMusoVersion,".zip"), repos = NULL, type = "win.binary")