Re: [R-pkg-devel] if statements in NAMESPACE file

2021-09-30 Thread Mark Miller
Returning to the original question, if it's helpful: I'd like to know what constraints led to considering an export only available on Windows, and see if we can suggest some other designs. It'd be good to keep the user's mental model abstracted from the platform they're working on. There are often

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

2020-12-11 Thread Mark Miller
Correct me if I'm wrong, but this seems to be the purpose of the function `with`? https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/with If that's the feature you're looking for, it would be the case of informing your users to use that function when they want to refer to the colu

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

2020-12-11 Thread Mark Miller
I think it would be helpful to describe more deeply what you're trying to do by this. There's a fair chance there's a better way to do what you're trying to do. Mark On Fri, Dec 11, 2020 at 10:53 AM Tiago Olivoto wrote: > Thank Matt for your response. > Would be an acceptable solution to check