On 12/03/2018 6:26 PM, Roy Mendelssohn - NOAA Federal wrote:
Hi All:
Recently there was a proper admonishment to a developer that it is bad etiquette writing
to a user's home directory, and for temporary files use the functions tempdir() and
tempfile(). I am working on a new package (present
Hi All:
Recently there was a proper admonishment to a developer that it is bad
etiquette writing to a user's home directory, and for temporary files use the
functions tempdir() and tempfile(). I am working on a new package (presently
on Github) that downloads data from a remote server, reads
Hi Knut,
on a sidenote: did you try the Rd2roxygen package? That could also make
your work a lot easier.
https://cran.r-project.org/web/packages/Rd2roxygen/index.html
Cheers
Joris
On Mon, Mar 12, 2018 at 8:15 PM, Joris Meys wrote:
> Hi Knut,
>
> If you want to add parameters, you need to use t
Hi Knut,
If you want to add parameters, you need to use the tag @param :
#' @param x a numeric vector
will translate to:
\item{x}{a numeric vector}
in the \arguments section of the .Rd file.
If you want to add extra description lists (eg for elements of a list in
the output), you can use \des
I am converting a package from creating the .rd files manually to roxygen.
I do not know how to add the additional parameters to the function
description, so that the \item{...}{ some parameters } will be created
in the .rd file
Kind regards Knut
__