checkADopts {PBSadmb} | R Documentation |
Check that .ADopts
has all required components and
that links point to actual files on the hard drive.
checkADopts(opts=getOptions(.PBSadmb), check=c("admpath","gccpath","editor"), warn=TRUE, popup=FALSE)
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. |
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.
A wrapper function that can be called from a GUI exists as .win.checkADopts
.
Rowan Haigh, Pacific Biological Station, Nanaimo BC, Canada