buildVignettes             package:tools             R Documentation

_L_i_s_t _a_n_d _B_u_i_l_d _P_a_c_k_a_g_e _V_i_g_n_e_t_t_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Run 'Sweave' and 'texi2dvi' on all vignettes of a package.

_U_s_a_g_e:

     buildVignettes(package, dir, lib.loc = NULL, quiet = TRUE, clean = TRUE)
     pkgVignettes(package, dir, lib.loc = NULL)

_A_r_g_u_m_e_n_t_s:

 package: a character string naming an installed package.  If given,
          Sweave files are searched in subdirectory 'doc'.

     dir: a character string specifying the path to a package's root
          source directory.  This subdirectory 'inst/doc' is searched
          for Sweave files.

 lib.loc: a character vector of directory names of R libraries, or
          'NULL'.  The default value of 'NULL' corresponds to all
          libraries currently known.  The specified library trees are
          used to search for 'package'.

   quiet: logical. Run 'Sweave' and 'texi2dvi' in quiet mode.

   clean: Remove all files generated by the build, even if there were
          copies there before.

_V_a_l_u_e:

     'buildVignettes' is called for its side effect of creating the PDF
     versions of all vignettes.

     'pkgVignettes' returns an object of class '"pkgVignettes"'.

