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

Updating check-bioc GHA #11

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Adafede
Copy link
Contributor

@Adafede Adafede commented Jan 21, 2025

@philouail

Sadly still not passing but already goes further than before and allowed probably to catch a real "error"!

  • I added NOTE on things that should be modified later
  • I commented the parts that were not used in your original GHA, eventually to uncomment later on

@philouail
Copy link
Collaborator

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`
Copy link
Collaborator

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

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)
Copy link
Collaborator

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.

Copy link
Contributor Author

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

Copy link
Collaborator

@philouail philouail left a 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",
Copy link
Collaborator

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 !

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.

2 participants