Check that the options object .PBSadmb has all required components
and that paths point to actual files on the hard drive.
checkADopts(opts=getOptions(atcall(.PBSadmb)),
check=c("admbpath","gccpath","msysbin","editor"),
warn=TRUE, popup=FALSE, verify=TRUE)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.
list -- ADMB options values.
character -- components (directory paths) of .PBSadmb to check.
logical -- if TRUE, print the results of the check to the R console.
logical -- if TRUE, display program location problems in a popup GUI.
logical -- if TRUE, then the ‘Verify’ button in the GUI was pressed.
This only affects the message generation ‘All programs found’. Command line call does not depend on GUI.
Rowan Haigh, Program Head -- Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Institute of Ocean Sciences (IOS), Sidney BC
Last modified Rd: 2018-10-03
setADpath,readADopts