makeDataPackage           package:Biobase           R Documentation

_M_a_k_e _a_n _R _p_a_c_k_a_g_e _f_r_o_m _a _d_a_t_a _o_b_j_e_c_t

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

     This generic creates a valid R package from an R data object.

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

     makeDataPackage(object, author, email,
                     packageName=deparse(substitute(object)),
                     packageVersion=package_version("1.0.0"),
                     license="The Artistic License, Version 2.0",
                     biocViews="ExperimentData",
                     filePath=tempdir(),
                     ...)

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

  object: An instance of an R data object. 

  author: The author, as a character string. 

   email: A valid email address for the maintainer, as a character
          string. 

packageName: The name of the package, defaults to the name of the
          object instance. 

packageVersion: The version number, as a character string. 

 license: The license, as a character string. 

biocViews: A character vector of valid biocViews views. 

filePath: The location to create the package. 

     ...: Additional arguments to specific methods

_D_e_t_a_i_l_s:

     The function makes use of various tools in R and Bioconductor to
     automatically generate the source files for a valid R package.

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

     The return value is that from a call to 'link{createPackage}'
     which is invoked once the default arguments are set up. The data
     instance is stored in the data directory with a name the same as
     that of the resulting package.

_N_o_t_e:

     Developers implementing derived methods might force correct
     package name evaluation by including 'packageName' in any
     'callNextMethod()'.

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

     R. Gentleman

_S_e_e _A_l_s_o:

     'createPackage'

_E_x_a_m_p_l_e_s:

      data(sample.ExpressionSet)
      ## package created in tempdir()
      s1 <- makeDataPackage(sample.ExpressionSet,
                            author="Foo Author",
                            email="foo@bar",
                            packageName="FooBarPkg",
                            packageVersion = "1.0.0")

