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

re-export expression2List() with deprecation message #441

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

Qile0317
Copy link
Collaborator

@Qile0317 Qile0317 commented Nov 8, 2024

@ncborcherding People reading old tutorials / with old code may need a way to figure out why things are not working like in #440 and likely dont read NEWS.md

Also the current approach is that an error is thrown when trying to use the exported function, but if the user is persistent on using it, they are forced by details to read the documentation, leading to them seeing the deprecation reason. If they are still persistent then I've given them an option to set the force argument to TRUE. It may be even helpful psychologically to make the process even harder by forcing users to use scRepertoire:::.expression2List() after they read the docs but I think people who get to this point probably just need it for something quick...

Also note that the documentation is tagged with @keywords internal so no need to worry about people re-discovering it. pkgdown should either just straight up not display it in reference of it will have the deprecation tag graphic next to it.

@Qile0317 Qile0317 marked this pull request as ready for review November 8, 2024 10:10
@Qile0317 Qile0317 self-assigned this Nov 8, 2024
@Qile0317 Qile0317 added the enhancement New feature or request label Nov 8, 2024
@ncborcherding ncborcherding merged commit 8c9e61e into BorchLab:dev Nov 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants