-
Notifications
You must be signed in to change notification settings - Fork 1
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
Updating check-bioc
GHA
#11
base: main
Are you sure you want to change the base?
Conversation
renew `biocthis::use_bioc_github_action()`
Remove parts not used (yet)
Ok this is great ! Actually the checks will not be able to pass if the vignettes are run because Sirius cannot be installed/run in the GHA (that i know of). My thought was to do them once the docker image (with Sirius installed there) is created ! because then i can run the check on the docker image. So i think for now it's good enough. What we can try is to just not build vignette for now also. and I will turn that back on once the Docker image is ready. |
## Manually install required packages | ||
BiocManager::install("msdata") | ||
BiocManager::install("msentropy") # NOTE: not because of `RuSirius` but `Spectra` |
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.
it's super weird this is not automatically installed, i will signal to jo
.github/workflows/check-bioc.yml
Outdated
run: | | ||
## Pass #2 at installing dependencies | ||
message(paste('****', Sys.time(), 'pass number 2 at installing dependencies: any remaining dependencies ****')) | ||
remotes::install_local(dependencies = TRUE, repos = BiocManager::repositories(), build_vignettes = TRUE, upgrade = TRUE, force = TRUE) |
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.
maybe for now we change this to build_vignettes = FALSE
and I'll fix all of that when I have the docker.
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.
Changed it, removed all vignettes builds, which leads to 2 warnings (out of 3, an additional other one remains...): https://github.com/rformassspectrometry/RuSirius/actions/runs/12908258406/job/35993408675#step:20:129
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 a lot for making the check much better !! I'll tag you when I PR with the docker , still trying to build it with Sirius for no :)
## NOTE: Change this back when everything ready | ||
# build_args = c("--no-manual", "--keep-empty-dirs", "--no-resave-data"), | ||
build_args = c("--no-manual", "--keep-empty-dirs", "--no-resave-data", "--no-build-vignettes"), | ||
error_on = "warning", |
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.
No need to throw error on warnings for now i think. the warning we get are just related to the fact that we are not building the vignettes.
Let's remove this and merge the PR. and i'll look more into it with the docker !
@philouail
Sadly still not passing but already goes further than before and allowed probably to catch a real "error"!
NOTE
on things that should be modified later