[BioC] how to build a R package with the inclusion of inst/extdata

Steve Lianoglou mailinglist.honeypot at gmail.com
Fri Sep 7 00:37:31 CEST 2012


Hi,

On Thu, Sep 6, 2012 at 6:25 PM, Yue Li <gorillayue at gmail.com> wrote:
> Dear list,
>
> I wonder if anyone could hint me on how to build a R package with the inclusion of "inst/extdata". Basically, I'm trying to build a R package with some BAM files as my test data used in the examples session from the Rd files.
>
> If I simply go:
>
> package.skeleton(name="myPackage", code_files=sourceCode, path="packageBuild")
>
> and manually copy and past the folder "inst" into the outDir folder then try:
>
> R CMD build packageBuild

Shouldn't you rather be `cd`-ing into the `packageBuild` directory,
then running `R CMD INSTALL myPackage`?

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the Bioconductor mailing list