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

Update Bioconductor environmental variable #19

Merged
merged 3 commits into from
Jun 8, 2024

Conversation

llrs
Copy link
Contributor

@llrs llrs commented Jun 7, 2024

I came here after #14 to update on_bioconductor.
I couldn't find the BBS_home variable used in the Bioconductor documentation & configuration.
The change updates the variable to the one currently documented/used:

This variable is documented as "Package code can use this to detect that it's running on a Bioconductor build machine" in the enviromental file of the latest Bioconductor versions: https://github.com/Bioconductor/BBS/blob/134de15c69fa8263abe3923328bb432627455765/3.20/Renviron.bioc#L60-L61

It is also set in the Single package builder (used for submissions to Bioconductor): https://github.com/Bioconductor/packagebuilder/blob/bf98061acd027852ed0b092fd861b6d68644e401/check.Renviron#L43

Note: I haven't redocumented the package as I am directly editing from Github.

This variable is documented as "Package code can use this to detect that it's running on a Bioconductor build machine".
@briandconnelly
Copy link
Owner

Nice find! I don't have a lot of experience with bioconductor, so I appreciate the help! I'm not sure where I saw BBS_HOME...

@llrs
Copy link
Contributor Author

llrs commented Jun 8, 2024

Hi, I updated the tests and fixed the linting problem as suggested.

@briandconnelly
Copy link
Owner

@llrs thank you for the very nice contribution! I'll merge this now and will aim to put together a new release shortly.

@briandconnelly briandconnelly merged commit 3f21a37 into briandconnelly:main Jun 8, 2024
8 checks passed
@briandconnelly
Copy link
Owner

@llrs I may have merged too quickly. If you're interested, feel free to submit another PR that adds yourself as a contributor to DESCRIPTION.

@mpadge mpadge mentioned this pull request Jun 14, 2024
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