[R] Help with Package creation

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sat Sep 19 07:39:28 CEST 2015

Your HTML formatted email is almost unreadable, but it looks like you need to read some description files of other packages to get an idea how it is supposed to be filled out. In particular pay attention to the Depends field. Also, there is a very detailed "Writing R Extensions" manual that comes with R. There is also a mailing list dedicated to helping with making packages (R-package-devel).

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

On September 18, 2015 7:44:24 PM PDT, Mohammad Tanvir Ahamed via R-help <r-help at r-project.org> wrote:
>Hello ,
>I am new in R package built. 
>I want to install one package (randomForest) that will install
>automatically while my package(myPack) will install. I am using R
>studio to built. 
>My Description file is : 
>Package: myPackType: PackageTitle: What the Package Does (Title
>Case)Version: 0.1Date: 2015-09-19Author: Who wrote itMaintainer: Who to
>complain to <yourfault at somewhere.net>Description: More about what it
>does (maybe more than one line)License: What license is it
>under?Depends: RImports: randomForestLazyData:
>TRUE ------------------------------------------------------------------------------------But
>it shows me a error ...
>Updating myPack documentationLoading myPackError in (function
>(dep_name, dep_ver = NA, dep_compare = NA)  :   Dependency package
>randomForest not available.Calls: suppressPackageStartupMessages ...
><Anonymous> -> load_all -> load_imports -> mapply ->
><Anonymous>Execution halted
>Exited with status
>Any help regarding this problem will appreciated . Thank you . 
> Tanvir Ahamed 
>   Göteborg, Sweden     | 
>	[[alternative HTML version deleted]]
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list