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:<jdnew...@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@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 <yourfa...@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 >1.------------------------------------------------------------------------------------ >Any help regarding this problem will appreciated . Thank you . > Tanvir Ahamed > Göteborg, Sweden | > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.