-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
Description
I'm getting my workplace to orgaize its code into modules and using box, and I was going to use the lifecycle package to help with deprecations and such, but I'm finding using lifecycle functions inside functions defined in modules to cause errors during deprecation warnings - it tries to do some parent.call sort of stuff to detect the package of the function that calls the lifecycle deprecation function. Rather than try and persuade the authors to support modules, I thought perhaps a simple box based module that implements similar functionality would be a cool project.
The big question I have as to whether this is possible is, is there a way to obtain the name of the module that a function is defined in?