extractVignettes          package:biocViews          R Documentation

_E_x_t_r_a_c_t _p_d_f _v_i_g_n_e_t_t_e_s _f_r_o_m _l_o_c_a_l _p_a_c_k_a_g_e _r_e_p_o_s_i_t_o_r_y

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

     This function extracts pdf files from the 'inst/doc' subdirectory
     of R source packages archives ('.tar.gz') found in a local package
     repository.

     All pdf files found in 'inst/doc' will be extracted.  Only source
     package archives will be processed.  The extracted pdf files will
     be extracted under 'destDir' and will be found in
     'PKGNAME/inst/doc/*.pdf'.

     Prior to extraction, all pdf files in 'destDir/PKGNAME/inst/doc'
     will be removed.

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

     extractVignettes(reposRoot, srcContrib, destDir)

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

reposRoot: character vector giving the path to the root of the local
          CRAN-style package repository

srcContrib: character vector giving the relative path from the
          'reposRoot' to the source packages.  In a standard CRAN-style
          repository, this will be 'src/contrib'.

 destDir: character vector specifying the directory in which the
          extracted files will be written.  If missing, files will be
          written to '<reposRoot>/vignettes'.

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

     Seth Falcon

