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

Move DropletUtils to Suggests to reduce dependencies #140

Merged
merged 4 commits into from
Sep 2, 2023

Conversation

lmweber
Copy link
Collaborator

@lmweber lmweber commented Sep 1, 2023

This PR moves the DropletUtils package to Suggests: to reduce the overall number of dependencies for SpatialExperiment, as suggested by @ellispatrick in issue #139.

I think this makes sense, since we only use DropletUtils::read10xCounts() within our function read10xVisium() and in some examples, so it doesn't really need to be installed by default along with its additional dependency tree.

I also added an additional warning message at the start of read10xVisium() if DropletUtils is not installed, since I believe the default R warning message when a package is missing is quite cryptic, so this could be confusing for novice users otherwise.

Longer-term we are also planning to move read10xVisium() out of the SpatialExperiment package and into TENxIO, as discussed in issue waldronlab/TENxIO#3, but this PR should be a good intermediate improvement until that time.

@lmweber lmweber requested a review from drighelli September 1, 2023 21:04
@drighelli
Copy link
Owner

thanks Lukas! it seems alright, also all the check passed!

@drighelli drighelli merged commit bb81804 into drighelli:devel Sep 2, 2023
@lmweber
Copy link
Collaborator Author

lmweber commented Sep 2, 2023

Thanks!

@lmweber lmweber deleted the DropletUtils_dependencies branch September 2, 2023 14:13
@lmweber
Copy link
Collaborator Author

lmweber commented Sep 2, 2023

Just pushed it to Bioc-devel (upstream) too

@lmweber lmweber mentioned this pull request Sep 2, 2023
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