Hi,
thank you for the reply.
Do you need this to be a file? Could it be a pre-parsed R object
instead?
I need to provide an external data/file in the R package. This has come as
a request from F1000 journal editors.
One way to solve this could be to write a script that imports the file
from ins
On Mon, 19 Dec 2022 20:59:27 +0530
Sanjeev Sariya wrote:
> ... I have created a .Rd file.
> I'm interested in listing this file in data() ...
My understanding is that data() is for R-level objects, and so is
help(), most likely.
One way to solve this could be to write a script that imports the
I think I will go with the suggestion of creating a new empty environment,
adding only the argument parsing function. Moreover I will use the same
name as the user-facing function that's being invoked, i.e.,
foo <- function(...) {
call <- match.call(expand.dots = TRUE)
call[[1]] <- quote(pa
Hi there,
I've added data in the inst/extdata folder, for which I have created a .Rd
file.
I'm interested in listing this file in data() as other data/objects are
being shown.
Link for package github:
https://github.com/sariya/GARCOM/tree/new_test_hello
best
--
Sanjeev M
[[alternative HT
Thank you
--
Sanjeev M
On Mon, Dec 19, 2022 at 7:53 PM Sarah Goslee wrote:
> Hi,
>
> Well, at the most basic, you create an appropriately-named and
> formatted text file in the man directory. The Writing R Extensions
> manual is full of information:
> https://cran.r-project.org/doc/manuals/R-
Hi,
Well, at the most basic, you create an appropriately-named and
formatted text file in the man directory. The Writing R Extensions
manual is full of information:
https://cran.r-project.org/doc/manuals/R-exts.html
Roxygen is an alternative approach to creating the Rd files yourself.
https://cra
Well, the CRAN question is more a suggestion that refernces for a
package can be specified in the Descrioption field of the DESCRIPTION
file so that poeple directly see the references even befiore downloading
the package. This is a (strong) suggestion, not compulsory.
Best,
Uwe Ligges
On 16