Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Stevenson committed Jun 6, 2016
1 parent a0d1061 commit 1052aba
Show file tree
Hide file tree
Showing 4 changed files with 13 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.1
Date: 2016-05-16
Version: 1.2.2
Date: 2016-06-06
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.1.tar.gz package-build/
mv admbsecr_1.2.2.tar.gz package-build/

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

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

pdf:
R CMD Rd2pdf --pdf . &
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
admbsecr 1.2.2
--------------

* Minor bug fixes.

admbsecr 1.2.1
--------------

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.1/admbsecr_1.2.1.zip"
bin.name <- "https://github.com/b-steve/admbsecr/releases/download/v1.2.2/admbsecr_1.2.2.zip"
ext <- ".zip"
type <- "win.binary"
} else if (.Platform$OS == "unix"){
bin.name <- "https://github.com/b-steve/admbsecr/archive/v1.2.1.tar.gz"
bin.name <- "https://github.com/b-steve/admbsecr/archive/v1.2.2.tar.gz"
ext <- ".tar.gz"
type <- "source"
} else {
stop("Unknown OS type.")
}
dest <- paste("admbsecr_1.2.1", ext, sep = "")
dest <- paste("admbsecr_1.2.2", ext, sep = "")
library(downloader)
download(bin.name, destfile = dest)
install.packages(dest, repos = NULL, type = type)
Expand Down

0 comments on commit 1052aba

Please sign in to comment.