[R-pkg-devel] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Michael Chirico
In an effort to streamline our NAMESPACE, we moved from blanket 'import(methods)' to specific importFrom(methods, ) for the objects we specifically needed. Doing so broke a downstream package, however, which has this directive: importFrom(data.table,`.__T__[:base`) That package stopped

Re: [R-pkg-devel] [External] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Richard M. Heiberger
this looks like a relative of the issue I tripped on that is discussed in the email threads https://stat.ethz.ch/pipermail/r-package-devel/2024q1/010531.html https://stat.ethz.ch/pipermail/r-devel/2024-March/083259.html At issue is the default export of exportPattern(".") System generated

Re: [R-pkg-devel] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Duncan Murdoch
To save others a bit of time, the package in question is "do", and Michael has already posted an issue on their Github page asking why they made this import: https://github.com/yikeshu0611/do/issues/1 . And if you remove that import and run R CMD check on "do", it fails with this error: *