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

Verify module dependencies are installed #106

Merged
merged 5 commits into from
Dec 18, 2023

Conversation

anthonysena
Copy link
Collaborator

This PR aims to address problems surfaced in #75 that will prevent Strategus from running an analysis if there are issues detected from restoring the dependencies via renv::restore().

@anthonysena anthonysena linked an issue Dec 14, 2023 that may be closed by this pull request
Copy link
Collaborator

@azimov azimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall testing this seemed good - it was able to break a module and then that verification process failed (which should stop the whole analysis until it is user resolved, so that's good).
However, I have big concerns about the calls to privaterenv functions and its difficult for me to understand their usage and the implications of it.

R/ModuleInstantiation.R Outdated Show resolved Hide resolved
R/ModuleInstantiation.R Outdated Show resolved Hide resolved
R/ModuleInstantiation.R Outdated Show resolved Hide resolved
R/ModuleInstantiation.R Outdated Show resolved Hide resolved
R/ModuleInstantiation.R Outdated Show resolved Hide resolved
R/ModuleInstantiation.R Show resolved Hide resolved
R/RunModule.R Show resolved Hide resolved
@anthonysena
Copy link
Collaborator Author

@azimov Thanks for the review! The latest commit should address the issues you raised. Please let me know and hopefully this should be ready to merge.

@azimov azimov self-requested a review December 18, 2023 16:21
@azimov
Copy link
Collaborator

azimov commented Dec 18, 2023

Happy with these changes now, just needs the conflicts to be resolved and should be ready to merge

@anthonysena anthonysena merged commit 28bacf4 into develop Dec 18, 2023
12 checks passed
@anthonysena anthonysena deleted the issue-75-verify-module-dependencies branch December 18, 2023 18:52
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

Successfully merging this pull request may close these issues.

missing dependencies
2 participants