getPacksAndViews          package:biocViews          R Documentation

_P_a_r_s_e _V_I_E_W_S _f_i_l_e _f_o_r _v_i_e_w_s _a_n_d _p_a_c_k_a_g_e_s

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

     Given a repository URL, download and parse the VIEWS file.

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

     getPacksAndViews(reposURL, vocab, defaultView, local=FALSE)

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

reposURL: character vector giving the URL of a CRAN-style repository
          containing a VIEWS file at the top-level.

   vocab: A 'graph-class' object representing the ontologyof views. 
          This graph should be a directed acyclic graph (DAG).

defaultView: A string giving the term to use for packages that do not
          list a term of their own via the 'biocViews' field in the
          'DESCRIPTION' file.

   local: logical indicating whether certain links should be absolute
          (using 'reposURL') or relative.

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

     A list with named elements:

     'views': Vector of view memberships.  Names are package names.

     'pkgList': A list of 'PackageDetail-class' objects.

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

     Seth Falcon

