Skip to content

reference class compile errors on load_all prevent further load_all #577

Closed

Description

@kcritz

when using reference classes, any compile error on load_all creates an error on all subsequent load_all calls:

Error in (function (class_a, pkg_a, class_b, pkg_b) :
trying to get slot "subclasses" from an object of a basic class ("NULL") with no slots

Speaking with Hadley at the R masterclass, he said that the problem can happen because load_all isn't properly unloading the flawed class. This may be related to the fact that reset=FALSE confusingly fixes the problem.

Activity

  1. locked and limited conversation to collaborators on Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions