Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Stevenson committed May 16, 2016
1 parent 3b5b649 commit c03306e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: admbsecr
Type: Package
Title: SECR models with supplementary location information
Version: 1.2.0
Date: 2015-12-29
Version: 1.2.1
Date: 2016-05-16
Author: Ben Stevenson <[email protected]>,
David Borchers <[email protected]>
Maintainer: Ben Stevenson <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ roxygen:
build:
R CMD build --resave-data .
mkdir -p package-build
mv admbsecr_1.2.0.tar.gz package-build/
mv admbsecr_1.2.1.tar.gz package-build/

check:
R CMD check package-build/admbsecr_1.2.0.tar.gz --no-tests
R CMD check package-build/admbsecr_1.2.1.tar.gz --no-tests

install:
R CMD INSTALL package-build/admbsecr_1.2.0.tar.gz --install-tests
R CMD INSTALL package-build/admbsecr_1.2.1.tar.gz --install-tests

pdf:
R CMD Rd2pdf --pdf . &
Expand Down
6 changes: 3 additions & 3 deletions inst/scripts/install.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ for (i in pkgs){
}
options(warn = 0)
if (.Platform$OS == "windows"){
bin.name <- "https://github.com/b-steve/admbsecr/releases/download/v1.2.0/admbsecr_1.2.0.zip"
bin.name <- "https://github.com/b-steve/admbsecr/releases/download/v1.2.1/admbsecr_1.2.1.zip"
ext <- ".zip"
type <- "win.binary"
} else if (.Platform$OS == "unix"){
bin.name <- "https://github.com/b-steve/admbsecr/archive/v1.2.0.tar.gz"
bin.name <- "https://github.com/b-steve/admbsecr/archive/v1.2.1.tar.gz"
ext <- ".tar.gz"
type <- "source"
} else {
stop("Unknown OS type.")
}
dest <- paste("admbsecr_1.2.0", ext, sep = "")
dest <- paste("admbsecr_1.2.1", ext, sep = "")
library(downloader)
download(bin.name, destfile = dest)
install.packages(dest, repos = NULL, type = type)
Expand Down

0 comments on commit c03306e

Please sign in to comment.