`methods_register()` also needs add a hook on package unload to remove all methods, and reset any unused hooks.
Activity
mmaechler commentedon Aug 18, 2023
mmaechler commentedon Aug 18, 2023
hadley commentedon May 22, 2026
hadley commentedon May 25, 2026
Also need to remove any hooks we added
hadley commentedon Jun 12, 2026
Related: r-lib/pkgload#334
Implement `S7_on_unload()` (RConsortium#698)