_data <- new.env(parent = emptyenv())
to your package code. Then you can refer to pkg_data from the
functions in the package.
Best,
Gabor
On Tue, Jan 29, 2019 at 9:40 PM Pascal Title wrote:
>
> Hi,
>
> I am developing an R package where I would like to have a set of names
>
Hi,
I am developing an R package where I would like to have a set of names
defined once, and which could then be queried from within the various
functions of the package. The way I have currently set this up is to define
a new environment that contains these names.
So, what I currently have is:
Hi,
I'm working on submitting an update to an existing R package to CRAN. I've
tested it with R CMD check --as-cran and it passes with no errors, warnings
or notes.
But there is an error currently on the check results page for the current
version, which you can see here:
https://cran.r-project.or