Open ryantmoore opened 6 years ago
We import botometer at the top of the .py Python script that is sourced within setup_botscan(). This may not be best. We might want to use reticulate::import() and delay the loading of the module.
import botometer
.py
setup_botscan()
reticulate::import()
For how to delay the loading of a module, such as botometer, see https://github.com/rstudio/reticulate/blob/master/vignettes/package.Rmd
botometer
We
import botometer
at the top of the.py
Python script that is sourced withinsetup_botscan()
. This may not be best. We might want to usereticulate::import()
and delay the loading of the module.For how to delay the loading of a module, such as
botometer
, see https://github.com/rstudio/reticulate/blob/master/vignettes/package.Rmd