[R-pkg-devel] .OnLoad v .OnAttach

Jonathan Godfrey A@J@God|rey @end|ng |rom m@@@ey@@c@nz
Sat Sep 23 02:35:42 CEST 2023


Hello all,

An issue has been raised for my BrailleR package.   https://github.com/ajrgodfrey/BrailleR/issues/97#issuecomment-1732136521

I do make use of an .OnLoad() function for various tasks, including creation of a folder to put stuff in. The user gets to choose if this is temporary or fixed if the session is interactive. (all in zzz.R

What risks do I face if any of this .OnLoad() are moved to .OnAttach()?

Thanks,
Jonathan




	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list