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

Consider install_github for this, to grab dependencies #4

Open
colinpmillar opened this issue Jul 5, 2022 · 1 comment
Open

Consider install_github for this, to grab dependencies #4

colinpmillar opened this issue Jul 5, 2022 · 1 comment
Assignees

Comments

@colinpmillar
Copy link
Member

Issue arose when FLCore in in taf library but CRAN dependency iterators is not on the local machine

install.packages(tgz, lib=lib, repos=NULL, quiet=quiet)

@arni-magnusson
Copy link
Member

The TAF wiki states that

If software entry A depends on entry B, then B should be listed before A in SOFTWARE.bib, so they are installed in the right order.

In other words, when declaring 'FLCore' in SOFTWARE.bib, one could declare 'iterators' just above it. Or, perhaps more commonly, leave it to the user to install CRAN dependencies such as 'iterators' outside the TAF library. This would imply that 'FLCore' is not highly sensitive to the version of 'iterators'.

The taf.boot() functionality in TAF comes with a good number of features, but it does not aspire to solve every possible situation that can arise related to package dependencies (some on CRAN, some on GitHub) and version conflicts. Users can potentially write a software boot script to overcome dependency challenges specific to a particular TAF analysis. Such a boot script could indeed utilize the 'remotes' package and/or other packages.

The SOFTWARE.bib file is an excellent place to document the key software and versions used in a TAF analysis, but SOFTWARE.bib entries will not always guarantee that things will 'just work'. For some software (and especially older versions) it will require some thought and extra work of the user to rerun an existing analysis.

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

No branches or pull requests

3 participants