It looks like sourceWithProgress() creates a fresh clean environment in which to source the R script, which seems like a good idea. However, what if the script itself sources other scripts? By default, the child scripts will use the global environment, not the environment that sources the parent script:
sourceWithProgress()
I believe this might be affecting and
Would you mind filing this as a bug report at https://github.com/rstudio/rstudio/issues? It sounds like this is indeed something we should attempt to properly handle.
Sure, I just submitted one here.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.