checkADopts {PBSadmb}R Documentation

Check ADMB Options for Link Integrity

Description

Check that .ADopts has all required components and that links point to actual files on the hard drive.

Usage

checkADopts(opts=getOptions(.PBSadmb), check=c("admpath","gccpath","editor"),
            warn=TRUE, popup=FALSE)

Arguments

opts ADMB options values.
check components of .ADopts to check.
warn logical: if TRUE, print the results of the check to the R console.
popup logical: if TRUE, display program location problems in a popup GUI.

Value

Boolean value where TRUE indicates all programs were located in the specified directories and FALSE if at least one program cannot be found. The returned Boolean scalar has two attributes:
warn - named list of test results, and
message - named vector of test results.

Note

A wrapper function that can be called from a GUI exists as .win.checkADopts.

Author(s)

Rowan Haigh, Pacific Biological Station, Nanaimo BC, Canada

See Also

makeADopts,readADopts


[Package PBSadmb version 0.61.44 Index]