Skip to content

Commit

Permalink
preparing readme etc. for next tagged version
Browse files Browse the repository at this point in the history
  • Loading branch information
goldingn committed Aug 14, 2015
1 parent bc54581 commit d2a9bea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Imports:
httpuv,
dismo
Depends:
raster
raster,
R (>= 3.2.0)
Suggests:
knitr,
testthat
Expand Down
28 changes: 20 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,35 @@ You'll need to be using R version 3.2.0 or higher.
On Windows:

```r
# install the raster package first
install.packages('raster')

# install the Windows binary of the latest release
install.packages('https://github.com/zoonproject/zoon/releases/download/0.3/zoon_0.3.zip',
install.packages('https://github.com/zoonproject/zoon/releases/download/0.3.1/zoon_0.3.1.zip',
repos = NULL, method = 'libcurl')

# install dependencies
install.packages(pkgDepends('zoon')$Depends)

# install imports
install.packages(unlist(strsplit(gsub(',', '', installed.packages(fields = c('imports'))['zoon','Imports']), '\n'))[-1])

# load zoon
library(zoon)
```

and on OSX or Linux:

```r
# install the raster package first
install.packages('raster')

# install the Windows binary of the latest release
install.packages('https://github.com/zoonproject/zoon/releases/download/0.3/zoon_0.3.tar.gz',
install.packages('https://github.com/zoonproject/zoon/releases/download/0.3.1/zoon_0.3.1.tar.gz',
repos = NULL, method = 'libcurl')

# install dependencies
install.packages(pkgDepends('zoon')$Depends)

# install imports
install.packages(unlist(strsplit(gsub(',', '', installed.packages(fields = c('imports'))['zoon','Imports']), '\n'))[-1])

# load zoon
library(zoon)
```


Expand Down

0 comments on commit d2a9bea

Please sign in to comment.