[R] Unable arrange the functions according to the requirement in the help page of my package.
Jim Lemon
drjimlemon at gmail.com
Wed Dec 14 09:53:19 CET 2016
Hi Pijush,
Don't worry about the "arrangement" of the functions in the help file.
They are ordered alphabetically and this has nothing to do with the
order in which they are actually used. The more serious problem is
probably your help files. There should be a "man" (help) file for each
function, usually written in the "Rd" format. These files should be in
the "man" subdirectory of your package directory. Getting the right
files in the right directories is a bit tricky, and I am afraid that
you will just have to plow through the "Writing R Extensions" file to
learn how.
Jim
On Tue, Dec 13, 2016 at 9:19 PM, Pijush Das <topijush at gmail.com> wrote:
> Hello Sir,
>
>
> I am trying to create my package in R. I have few functions for this
> package. After including all the functions in the package, I have seen that
> the help page does not contain the functions sequentially as it is demanded
> by the package. e.g.
>
> The package requires the function arrangement given below:
>
> a()
> d()
> c()
> b()
>
> After building the package , found that function arrangement given below
> a()
> b()
> c()
> d()
>
> Another problem which I am facing is given below:
> I have created the vignette file in R markdown file format with the help of
> VignetteBuilder: knitr. There is no error but after building and checking
> the package I unable to see the vignette.pdf in the Help file.
>
> I have seen that there is a Index.html page in other package. I able to
> create such index.html file but I unable to connect all the function and
> the vignette.pdf in that html file.
>
> I unable to understand the document found in the website describing about
> how to create an R package. There I do not find any clue to solve my
> problem.
>
>
> Please help me.
>
>
> Thank you very much.
>
> regards
> Pijush Das
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list