# Packages declared in the 'Depends' field should not also be in the 'Imports' field (from R-exts.pdf).
# For PBSadmb I have to IMPORT and DEPEND on PBSmodelling.
#   IMPORT alone cannot find `ComboBox` when `admb()` is called.
#   DEPEND alone causes NOTE in Rcheck.
import( methods, PBSmodelling )

importFrom("graphics", "axis", "lines", "mtext", "pairs", "par", "points")
importFrom("utils", "read.table", "write.table")

# Import the S4 options manager from PBSmodelling (doesn't work)
#importClassesFrom(PBSmodelling, PBSoptions)
#importMethodsFrom(PBSmodelling, initialize, print, show)

# Export all non-dot names from PBSadmb
exportPattern("^[^\\.]")

## need .PBSadmbEnv
export(.PBSadmbEnv)

## need these functions called by Windows Description files (GUIs)
exportPattern("^\\.win\\.")  ## function wrappers

# R now requires documentation for all exported objects,
#  even dot functions, so keep in the NAMESPACE
#export(.asIs)
#export(.version)
#exportPattern("^\\.add")
#exportPattern("^\\.append")
#exportPattern("^\\.call")
#exportPattern("^\\.change")
#exportPattern("^\\.choose")
#exportPattern("^\\.clean")
#exportPattern("^\\.delete")
#exportPattern("^\\.do")
#exportPattern("^\\.get")
#exportPattern("^\\.init")
#exportPattern("^\\.load")
#exportPattern("^\\.norm")
#exportPattern("^\\.PBS")
#exportPattern("^\\.set")
#exportPattern("^\\.win\\.")

