You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To maintain package dependencies when using taf.library(), it appears we need to call each individual package in the right order, to avoid system copies being loaded. So instead of
library(FLasher)
we need to issue
taf.library(FLCore)
taf.library(FLasher)
to avoid a different version of FLCore from being loaded.
I have tried to code up a function of load all packages in SOFTWARE.bib in the order specified there
but rather than sending directly a pull request, I thought it would be good to get some feedback first. This is pretty basic as it stands right now. For example, how to make it work with either bootstrap or boot as folder names, is there any internal function that could return the chosen one?
The text was updated successfully, but these errors were encountered:
iagomosqueira
changed the title
taf.library to load all pkgs in the right order
taf.libraries() to load all pkgs in the right order
Jul 15, 2023
Hey, that's an interesting idea. Yep, the internal function boot.dir chooses between "boot" and "bootstrap".
Some SOFTWARE.bib entries are not R packages. One could perhaps check each entry with is.r.package() and run taf.library() if it looks like an R package. That might be cleaner than wrapping each taf.library() call inside try() or something like that?
To maintain package dependencies when using
taf.library()
, it appears we need to call each individual package in the right order, to avoid system copies being loaded. So instead ofwe need to issue
to avoid a different version of FLCore from being loaded.
I have tried to code up a function of load all packages in SOFTWARE.bib in the order specified there
but rather than sending directly a pull request, I thought it would be good to get some feedback first. This is pretty basic as it stands right now. For example, how to make it work with either bootstrap or boot as folder names, is there any internal function that could return the chosen one?
The text was updated successfully, but these errors were encountered: