Refactor functions to be smaller and more modular #25
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
BiocCheck::BiocCheck()
issues a NOTE for functions longer than 50 lines. Currently, 3 functions are longer than 50 lines. These functions should be refactored to be smaller and more modular.The Note in question is:
The functions in question are:
investigate_target()
#26investigate_signature()
#27prepare_signature()
#28The Idea would be to encapsulate some of the logic that is common to these and other fucntions into unexported utility functions. This way, we can defer the error or check logic to these functions and keep the core functions more readable and concise.
The text was updated successfully, but these errors were encountered: