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

'new_weakref' is not an exported object from 'namespace:rlang' #900

Closed
neelan29 opened this issue Jan 22, 2020 · 8 comments
Closed

'new_weakref' is not an exported object from 'namespace:rlang' #900

neelan29 opened this issue Jan 22, 2020 · 8 comments

Comments

@neelan29
Copy link

I am trying to run an R Shiny app from my R Studio. Everytime the app runs, I get the following error:

image

I made sure I am using the latest version of rlang. But this error doesnt seem to go away.

Any help on this would be really useful.

@lionel-
Copy link
Member

lionel- commented Jan 22, 2020

What does devtools::session_info() and rlang::new_weakref return?

@neelan29
Copy link
Author

They return the following:

image

@lionel-
Copy link
Member

lionel- commented Jan 22, 2020

And sessionInfo() and getOption("repos")?

@neelan29
Copy link
Author

They are as follows:

image

image

@lionel-
Copy link
Member

lionel- commented Jan 22, 2020

From sessionInfo() you have rlang 0.4.2 installed which is the right version. There must have been an installation issue, but I'm not sure how to help you. You definitely should be able to see a function when you type rlang::new_weakref if rlang is correctly installed.

Have you reloaded R after installation?

@neelan29
Copy link
Author

No, i havent done that after installing the latest version of rlang. Do you recommend restarting R?

@lionel-
Copy link
Member

lionel- commented Jan 22, 2020

Yes restarting R after updating packages is needed because packages generally can't be unloaded and reloaded properly.

@neelan29
Copy link
Author

thanks a lot! restarting R did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants