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

package not reloaded after install #2111

Closed
tbates opened this issue Sep 10, 2019 · 2 comments
Closed

package not reloaded after install #2111

tbates opened this issue Sep 10, 2019 · 2 comments

Comments

@tbates
Copy link

tbates commented Sep 10, 2019

running devtools::install, leaves the library not loaded.

Looks like it's being reloaded, then there's a spurious NAMESPACE rewrite and the package is left unloaded?

mypkgfun()
# "hi"
devtools::document()
devtools::install()

# Updating mypkg documentation
# Writing NAMESPACE
# Loading mypkg
# Writing NAMESPACE
mypkgfun()
Error in mypkgfun() : could not find function "mypkgfun"

workaround = manual reload

library(mypkg)
mypkgfun()
# "hi"
@tbates
Copy link
Author

tbates commented Sep 12, 2019

thanks!

@lock
Copy link

lock bot commented Mar 10, 2020

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Mar 10, 2020
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