You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pushed the current draft of two functions to my personnel folder in
SG1 (John). DBEpreparedObj has an oxygen skeleton, however generateProbs_John does
not as I believe Nuno may have also been working on the function and it may need to be
merged somehow.
DBEpreparedObj: takes raw objects and fills out probabilities based on generateProbs_John
and produces .rdata files of objs
generateProbs_John: fills out probabilities based on method col
Cheers,
John
The text was updated successfully, but these errors were encountered:
To identify style issues with the draft package, install the lintr package and then run lintr::lint_package(linters=lintr::with_defaults(object_name_linter=lintr::object_name_linter(styles = "camelCase")))
This should identify the style issues that will be flagged when committing to the package.
The styler R package (using the tidyverse style) can be used to fix some common style problems easily (e.g. spaces after commas) - there is an RStudio add-in for this that allows you easily style a selection of code or a file. Once you do this you are left with the following issues:
variable and function names should be camelCase (not snake_case or PascalCase)
Lines shouldn't be longer than 80 characters
function cyclomatic complexity (I wouldn't worry about this at the moment)
Hello,
I have pushed the current draft of two functions to my personnel folder in
SG1 (John). DBEpreparedObj has an oxygen skeleton, however generateProbs_John does
not as I believe Nuno may have also been working on the function and it may need to be
merged somehow.
DBEpreparedObj: takes raw objects and fills out probabilities based on generateProbs_John
and produces .rdata files of objs
generateProbs_John: fills out probabilities based on method col
Cheers,
John
The text was updated successfully, but these errors were encountered: