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

module shows up multiple times on the search path #354

Open
tyner opened this issue Feb 6, 2024 · 0 comments
Open

module shows up multiple times on the search path #354

tyner opened this issue Feb 6, 2024 · 0 comments

Comments

@tyner
Copy link

tyner commented Feb 6, 2024

Error description

Say I have a module called "foo/bar". From the global environment, if I import it twice via:

box::use(foo/bar[...])
box::use(foo/bar[...])

then there are now two entries on the search path called mod:foo/bar. This happens regardless of whether I put a box::purge_cache() in between.

Perhaps this is not a bug, but shall we say an infelicity? Could there be an option to prevent duplication on the search path, or at least alert the user?

R version

platform       x86_64-koji-linux-gnu       
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          0.2                         
year           2020                        
month          06                          
day            22                          
svn rev        78730                       
language       R                           
version.string R version 4.0.2 (2020-06-22)
nickname       Taking Off Again

‘box’ version

1.1.3

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

1 participant