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 cant identify an example expected input and output
I would suggest to run a lint check on a file before each commit. The commad for this file would be: lintr::lint("./WKRDB-EST2/subGroup1/funs/doDBErawObj.R",linters=lintr::with_defaults(object_name_linter=lintr::object_name_linter(styles = "camelCase")))
Issues identified by running linter:
Lines should not be more than 80 characters.
Trailing whitespace is superfluous.
Use <-, not =, for assignment.
Variable and function name style should be camelCase.
Only use double-quotes.
Do not place spaces around code in parentheses or square brackets.
Place a space before left parenthesis, except in a function call.
There should be a space between right parenthesis and an opening curly brace.
Commas should always have a space after.
no visible binding for global variable ‘allRequiredTables’
Commented code should be removed.
Put spaces around all infix operators.
Avoid 1:length(...) expressions, use seq_len.
no visible binding for global variable ‘SL’
no visible binding for global variable ‘VD’
Issues identified by running devtools::check():
no visible global function definition for 'choose.dir'
no visible global function definition for 'read.csv'
no visible binding for global variable 'allRequiredTables'
Hi
You can find doDBErawObj function in my personal folder:
https://github.com/ices-eg/WK_RDBES/tree/master/WKRDB-EST2/subGroup1/funs
If time allows I will add some more checks, stops and warnings to it
Best,
Marta
The text was updated successfully, but these errors were encountered: