Re: [Rd] Restrict package to load-only access - prevent attempts to attach it

2020-07-17 Thread Henrik Bengtsson
Thanks. Though, AFAIU, that addresses another use case/need. I want reverse package dependencies to be able to import functions from my package using standard R namespace mechanisms, e.g. import() and importFrom(). The only thing I want to prevent is relying on it being *attached* to the search()

Re: [Rd] Restrict package to load-only access - prevent attempts to attach it

2020-07-17 Thread Iñaki Ucar
Hi Henrik, A bit late, but you can take a look at smbache's {import} package [1] in case you didn't know it. I believe it does what you are describing. [1] https://github.com/smbache/import Iñaki On Tue, 23 Jun 2020 at 22:21, Henrik Bengtsson wrote: > > Hi, > > I'm developing a package whose A