Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference class compile errors on load_all prevent further load_all #577

Closed
kcritz opened this issue Sep 9, 2014 · 0 comments
Closed

reference class compile errors on load_all prevent further load_all #577

kcritz opened this issue Sep 9, 2014 · 0 comments

Comments

@kcritz
Copy link

kcritz commented Sep 9, 2014

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.

@hadley hadley closed this as completed in 69c99fa Sep 18, 2014
@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant