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

camelCase Bioconductor Convention is Not Used #4

Open
DarioS opened this issue Jan 22, 2023 · 2 comments
Open

camelCase Bioconductor Convention is Not Used #4

DarioS opened this issue Jan 22, 2023 · 2 comments

Comments

@DarioS
Copy link

DarioS commented Jan 22, 2023

I see this has been submitted to Bioconductor for evaluation. One of the conventions which is different to what Bioconductor expects is function and variable naming. See Functions Names and Variable Names sections of the developer's guide. See also Spaltter simulator, which is accepted into Bioconductor and conforms to the guide. Using a consistent convention for all packages in Bioconductor ecosystem makes it a bit easier for users to memorise parameters and switch between packages.

@SONGDONGYUAN1994
Copy link
Owner

Hi Dario,
Thank you for your important suggestion! We will fix it ASAP. I would appreciate it if you have any good ideas for converting all snake_case to camelCase automatically.

Best regards,
Dongyuan

@DarioS
Copy link
Author

DarioS commented Jan 23, 2023

One way to do it quick is to use Find in Files... from Edit menu of RStudio. Then, (1) click on Replace button, type in the new variable into the text box name and, if the results preview looks good, click on 2 Replace All button.

image

Unfortunately, RStudio doesn't have proper refactoring functionality like other I.D.E. such as Eclipse.

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

No branches or pull requests

2 participants