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.  The name(s) of the packages are taken from the
     'DESCRIPTION' files and not from the directory names.

     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 sections on "Checking and building packages" and "Processing
     Rd format" in "Writing R Extensions" (see the 'doc/manual'
     subdirectory of the R source tree).

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

