You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @importClassesFrom PkgA B
setClass("A", contains = "B")
devtools::load_all() in PkgB does well the first time with
> devtools::load_all()
Loading PkgB
> getClass("B")
Class "B" [package "PkgA"]
No Slots, prototype of class "S4"
Extends: "C", "D"
Known Subclasses: "A"
but the second time the imported class "B" has lost the classes it extends
> devtools::load_all()
Loading PkgB
> getClass("B")
Class "B" [package "PkgA"]
No Slots, prototype of class "S4"
Known Subclasses: "A"
@mtmorgan commented on Aug 10, 2018, 7:52 PM UTC:
Installed PkgA has R/classes.R (and implied NAMESPACE)
PkgB has R/classes.R (etc)
devtools::load_all()
in PkgB does well the first time withbut the second time the imported class "B" has lost the classes it extends
This is with
This issue was moved by jimhester from r-lib/devtools#1845.
The text was updated successfully, but these errors were encountered: