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

2024-03-15 Thread Ivan Krylov via R-package-devel
On Thu, 14 Mar 2024 16:06:50 -0400 Duncan Murdoch wrote: > Error in xj[i] : invalid subscript type 'list' > Calls: join_inner -> data.frame -> [ -> [.data.table -> [.data.frame > Execution halted And here's how it happens: join_inner calls xi[yi,on=by,nomatch=0] on data.tables xi and yi.

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: *