checkADopts             package:PBSadmb             R Documentation

_C_h_e_c_k _A_D_M_B _O_p_t_i_o_n_s _f_o_r _L_i_n_k _I_n_t_e_g_r_i_t_y

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    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.

_V_a_l_u_e:

     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.

_N_o_t_e:

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

_A_u_t_h_o_r(_s):

     Rowan Haigh, Pacific Biological Station, Nanaimo BC, Canada

_S_e_e _A_l_s_o:

     'makeADopts','readADopts'

