gadgetfleet: Create a gadgetfleet object

View source: R/gadgetfleet.R

gadgetfleetR Documentation

Create a gadgetfleet object

Description

Create a fleet file object, from fresh or an existing file.

Usage

gadgetfleet(file_name, path, missingOkay = FALSE)

Arguments

file_name

The name of the fleet file

path

The path to the gadget directory to read from

missingOkay

If TRUE, return an empty fleet file object if file does not exist.

Value

A list of fleet components representing file

Examples

## Not run: 
path <- './cod-model'
# Read 'fleet' fleet file, creating it if it doesn't exist
gadgetfleet('fleet', path, missingOkay = TRUE)  

## End(Not run)

gadget-framework/rgadget documentation built on July 20, 2022, 12:16 p.m.