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

Does assignAnywhere work for a function in a package? #5

Closed
pengyu opened this issue May 5, 2020 · 2 comments
Closed

Does assignAnywhere work for a function in a package? #5

pengyu opened this issue May 5, 2020 · 2 comments
Assignees
Labels

Comments

@pengyu
Copy link

pengyu commented May 5, 2020

It seems that the following assignment won't work. Is there a way to make it work on a function in a package? Thanks.

godmode:::assignAnywhere('BiocManager::install', function(x) { x })
@RolandASc RolandASc changed the title Does assignAnywhere work for a function in a pacakge? Does assignAnywhere work for a function in a package? May 13, 2020
@RolandASc
Copy link
Member

Maybe you are looking for godmode:::assignInName("BiocManager", "install", function(x) {x})?

@RolandASc RolandASc self-assigned this Oct 17, 2022
@RolandASc
Copy link
Member

probably ok with the given answer

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

No branches or pull requests

2 participants