PkgUtils                package:utils                R Documentation

_U_t_i_l_i_t_i_e_s _f_o_r _B_u_i_l_d_i_n_g _a_n_d _C_h_e_c_k_i_n_g _A_d_d-_o_n _P_a_c_k_a_g_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Utilities for checking whether the sources of an R add-on package
     work correctly, and for building a source or binary package from
     them.

_U_s_a_g_e:

     R CMD build [options] pkgdirs
     R CMD check [options] pkgdirs

_A_r_g_u_m_e_n_t_s:

 pkgdirs: a list of names of directories with sources of R add-on
          packages.

 options: further options to control the processing, or for obtaining
          information about usage and version of the utility.

_D_e_t_a_i_l_s:

     'R CMD check' checks R add-on packages from their sources,
     performing a wide variety of diagnostic checks.

     'R CMD build' builds R source or binary packages from their
     sources.  It will create index files in the sources if necessary,
     so it is often helpful to run 'build' before 'check'.

     Use 'R CMD foo --help' to obtain usage information on utility
     'foo'.

     Several of the options to 'build --binary' are passed to 'INSTALL'
     so consult its help for the details.

_S_e_e _A_l_s_o:

     The chapter "Processing Rd format" in "Writing R Extensions" (see
     the 'doc/manual' subdirectory of the R source tree).

     'INSTALL' is called by 'build --binary'.

