## Get VERSION and create file names
ver <- sub(x = grep(x = readLines("DESCRIPTION"),
           pattern = "^Version: ",
           value = TRUE),
           pattern = "^Version: ", replacement = "")
pkg.name <- "FishMaps2_"
pkg.source <- paste0(pkg.name, ver, ".tar.gz")
pkg.win <- paste0(pkg.name, ver, ".zip")

FishMaps2 r ver

Build Status

Plots Fishery Data into Maps

Introduction

FishMaps2 was designed to plot georeferenced fishery data (e.g. catch, effort and CPUE) into maps.

Download and install

Linux/Mac

Use the devtools package (available from CRAN) to install automatically from the official Git repository:

library(devtools)
install_github("rodrigosantana/FishMaps2")

Alternatively, download the package tarball: [r pkg.source][] and run from a UNIX terminal (make sure you are on the container file directory):

cmd <- paste("R CMD INSTALL -l /path/to/your/R/library", pkg.source)
cat(cmd, sep = "\n")

Or, inside an R session:

inst <- paste0("install.packages(", "\"", pkg.source, "\"", ", repos = NULL,\n",
               "                 lib.loc = \"/path/to/your/R/library\",\n",
               "                 dependencies = TRUE)")
cat(inst, sep = "\n")

Note that -l /path/to/your/R/library in the former and lib.loc = "/path/to/your/R/library" in the latter are optional. Only use it if you want to install in a personal library, other than the standard R library.

Windows

Download Windows binary version: [r pkg.win][] (do not unzip it under Windows), put the file in your working directory, and from inside R:

instw <- paste0("install.packages(", "\"", pkg.win, "\"", ", repos = NULL,\n",
                "                 dependencies = TRUE)")
cat(instw, sep = "\n")

Authors

Documentation

The reference manual in PDF can be found here: FishMaps2-manual.pdf

License

This package is released under the GNU General Public License (GPL) v. 3.0

pkg.source.link <- paste0(
    "https://github.com/rodrigosantana/FishMaps2/blob/master/downloads/",
    pkg.source, "?raw=true")
pkg.win.link <- paste0(
    "https://github.com/rodrigosantana/FishMaps2/blob/master/downloads/",
    pkg.win, "?raw=true")

[r pkg.source]: r pkg.source.link [r pkg.win]: r pkg.win.link



rodrigosantana/FishMaps2 documentation built on May 27, 2019, 12:16 p.m.