Skip to content

installation instructions

chrisholbrook edited this page Sep 19, 2024 · 14 revisions

Installation instructions for the R package glatos

- First, install the R package remotes (if you haven't already)

install.packages("remotes")

- Then, use the remotes function install_github to install the package and it's dependencies

  • For the latest release version (0.8.01; aka "very-refreshing-lemonade"):

    library(remotes) # for install_github
    install_github('ocean-tracking-network/glatos', build_vignettes = TRUE)

    To access vignettes:

    browseVignettes("glatos")
  • For the previous release version (0.7.3; aka "sour-peaches"):

    library(remotes) # for install_github
    install_github('ocean-tracking-network/glatos', ref = "v0.7.3", build_vignettes = TRUE)
  • Note that v0.2.0 and later are not compatible with the previous version (v. 0.1.3). For this very early version (v0.1.3):

    # install_url("https://github.com/ocean-tracking-network/glatos/archive/refs/tags/v0.1.3.zip")

1: v0.2.x ('three-meat-pizza') is the companion to the GLATOS R Workshop Manual V 2.0 (March 1, 2018, Ann Arbor, Michigan).


Frequently Asked Questions

  1. I get the following warning when I try to install the glatos package: Warning in install.packages : package ‘glatos’ is not available for this version of R What version of R is compatible with glatos?

    The glatos package is compatible with all versions of R >= 3.5.0. This message is deceiving because what it really means is that there is no package called "glatos" on CRAN. Follow the instructions above to install the package from the source repository on OTN GitHub.

  2. I get the following error when I follow instructions above: Installation failed: Timeout was reached: Connection timed out after 10000 milliseconds How can I install the package?

    A firewall may be preventing R from downloading the zip file. As a work-around, you can manually download the source code zip file, then install it using devtools::install, as described here.