-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add missing packages to renv #92
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the report & PR!
I would like to avoid to include packages that are not directly used in the report in the citation. The underlying cause of this issue is that renv::dependencies()
is used to identify dependencies and it will by default look at all files recursively in the current working directory. The best fix would be to find a way to just look at the main files and actually used child documents.
The proper fix seems to be using |
…im packages from skeleton renv::use(), relates #90
@Bisaloo thanks for the fix. I've tested it and it seems to work well. I've made the update in the last commit. |
Codecov Report
@@ Coverage Diff @@
## main #92 +/- ##
=======================================
Coverage 73.91% 73.91%
=======================================
Files 4 4
Lines 23 23
=======================================
Hits 17 17
Misses 6 6 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks! |
This PR closes #90.
I have added the packages used in the transmissibility rmd documents as well as {episoap} to the
renv::use()
call in the skeleton document.