Skip to content
Prev 6355 / 12125 Next

[R-pkg-devel] Assigning a variable to global environment

I think this solution will *not* be acceptable to CRAN. (The policy 
doesn't say "don't modify the global workspace unless you're careful", 
it says "don't modify the global workspace".)  You can ask for an 
exception, but your chances of success are very low.

    It would be best to find a way to solve your problem without 
assigning to the global workspace.  Can you assign to an environment 
that is contained within your package, which all of the functions in 
your package will also have access to?

   cheers
     Ben Bolker
On 12/11/20 1:52 PM, Tiago Olivoto wrote: