fishR: Opens web pages associated with the fishR website.

View source: R/FSAUtils.R

fishRR Documentation

Opens web pages associated with the fishR website.

Description

Opens web pages associated with the fishR website in a browser. The user can open the main page or choose a specific page to open.

Usage

fishR(
  where = c("home", "posts", "books", "IFAR", "AIFFD", "packages", "data"),
  open = TRUE
)

Arguments

where

A string that indicates a particular page on the fishR website to open.

open

A logical that indicates whether the webpage should be opened in the default browser. Defaults to TRUE; FALSE is used for unit testing.

Value

None, but a webpage will be opened in the default browser.

Author(s)

Derek H. Ogle, DerekOgle51@gmail.com

Examples

## Not run: 
## Opens an external webpage ... only run interactively
fishR()            # home page
fishR("posts")     # blog posts (some examples) page
fishR("books")     # examples page
fishR("IFAR")      # Introduction to Fisheries Analysis with R page
fishR("AIFFD")     # Analysis & Interpretation of Freshw. Fisher. Data page
fishR("packages")  # list of r-related fishereis packages
fishR("data")      # list of fisheries data sets

## End(Not run)


droglenc/FSA documentation built on Aug. 30, 2023, 12:51 a.m.