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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# beginCluster(20) # if you have multiple clusters available, use them here to save time^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter("persistprob", "numeric", 0.00, 0, 1, "probability of fire persisting in a pixel"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter("spreadprob", "numeric", 0.225, 0.05, 0.5, "probability of fire spreading into a pixel"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter(".saveInitialTime", "numeric", NA_real_, NA, NA, "time to schedule first save event"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter("inRAM", "logical", FALSE, TRUE, FALSE, "should the raster be stored in memory?"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter("nx", "numeric", 100L, 10L, 500L, "size of map (number of pixels) in the x dimension"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter("ny", "numeric", 100L, 10L, 500L, "size of map (number of pixels) in the y dimension"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter(".saveInitialTime", "numeric", NA_real_, NA, NA, "time to schedule first save event"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter(".useCache", "logical", FALSE, c("init", "plot"), NA, "should the module result be cached for future use")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter(".plotInitialTime", "numeric", NA_real_, NA, NA, "This describes the simulation time at which the first plot event should occur"),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
defineParameter(".saveInitialTime", "numeric", NA_real_, NA, NA, "This describes the simulation time at which the first save event should occur")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (identical(type, "returnSim")) { # returnSim case doesn't need to parse whole function, only last Number^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/code-checking.R:66:41:style:Opening curly braces should never go on their own line and should always be followed by a new line.
if (identical(type, "returnSim")) { # returnSim case doesn't need to parse whole function, only last Number^
" must assign to the sim, e.g., sim <- scheduleEvent(sim, ...)"^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/code-checking.R:360:31:style:Opening curly braces should never go on their own line and should always be followed by a new line.
"but no default(s) ", verb, " provided in .inputObjects"^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"\n with base functions: ", crayon::bold(paste(hasConflicts, collapse=", ")),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"\n It is a good idea to be explicit about the package sources",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" but only for the 'get' functions, not the 'set' function ","^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(e.g., don't change when on the left hand side of an assignement operator)"))^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn, ", but ",verbs[[fn]]," not declared in outputObjects"^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn, ", but ",verbs[[fn]]," not declared in inputObjects"^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fn, ", but ",verbs[[fn]]," not declared in inputObjects"^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zipFiles<- grep(file.path(name, "data"), zipFiles, invert=TRUE, value=TRUE) # remove any zip in data folder^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75f0529
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inst/examples/example_experiment.R:91:5: style: Commented code should be removed.
inst/examples/example_experiment.R:92:5: style: Commented code should be removed.
inst/examples/example_experiment.R:96:5: style: Commented code should be removed.
inst/examples/example_experiment.R:152:5: style: Commented code should be removed.
inst/examples/example_POM.R:49:5: style: Commented code should be removed.
inst/examples/example_POM.R:84:4: style: Commented code should be removed.
inst/examples/example_POM.R:107:34: style: Variable or function name should be lowerCamelCase.
inst/examples/example_POM.R:114:5: style: Variable or function name should be lowerCamelCase.
inst/examples/example_POM.R:120:7: style: Commented code should be removed.
inst/examples/example_POM.R:121:7: style: Commented code should be removed.
inst/examples/example_POM.R:122:7: style: Commented code should be removed.
inst/examples/example_POM.R:123:7: style: Commented code should be removed.
inst/sampleModules/caribouMovement/caribouMovement.R:1:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/caribouMovement/caribouMovement.R:54:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/caribouMovement/caribouMovement.R:86:1: style: Lines should not be more than 100 characters.
inst/sampleModules/caribouMovement/caribouMovement.R:95:1: style: Lines should not be more than 100 characters.
inst/sampleModules/caribouMovement/caribouMovement.R:102:1: style: Lines should not be more than 100 characters.
inst/sampleModules/caribouMovement/caribouMovement.R:114:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/caribouMovement/caribouMovement.R:121:3: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/caribouMovement/caribouMovement.R:122:3: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/caribouMovement/caribouMovement.R:138:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:1:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:20:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:21:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:35:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:37:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:38:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:39:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:41:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:42:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:59:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:87:1: style: Lines should not be more than 100 characters.
inst/sampleModules/fireSpread/fireSpread.R:142:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:146:3: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:150:3: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:153:14: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:159:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:162:3: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:174:14: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/fireSpread/fireSpread.R:181:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/randomLandscapes/randomLandscapes.R:1:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/randomLandscapes/randomLandscapes.R:33:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:34:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:35:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:37:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:38:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:39:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:40:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:41:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:55:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/randomLandscapes/randomLandscapes.R:75:1: style: Lines should not be more than 100 characters.
inst/sampleModules/randomLandscapes/randomLandscapes.R:86:1: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/randomLandscapes/randomLandscapes.R:100:5: style: Variable or function name should be lowerCamelCase.
inst/sampleModules/SpaDES_sampleModules/SpaDES_sampleModules.R:17:1: style: Lines should not be more than 100 characters.
inst/sampleModules/SpaDES_sampleModules/SpaDES_sampleModules.R:18:1: style: Lines should not be more than 100 characters.
R/cache.R:230:50: style: Commas should always have a space after.
R/cache.R:241:50: style: Commas should always have a space after.
R/cache.R:288:10: style: Commented code should be removed.
R/cache.R:324:1: style: Trailing whitespace is superfluous.
R/cache.R:330:1: style: Trailing whitespace is superfluous.
R/cache.R:342:1: style: Trailing whitespace is superfluous.
R/cache.R:364:14: style: Commented code should be removed.
R/cache.R:367:1: style: Trailing whitespace is superfluous.
R/cache.R:377:1: style: Trailing whitespace is superfluous.
R/cache.R:381:1: style: Trailing whitespace is superfluous.
R/cache.R:419:66: style: Variable or function name should be lowerCamelCase.
R/cache.R:442:48: style: Variable or function name should be lowerCamelCase.
R/cache.R:534:1: style: Variable or function name should be lowerCamelCase.
R/checkpoint.R:36:1: style: Variable or function name should be lowerCamelCase.
R/code-checking.R:66:1: style: Lines should not be more than 100 characters.
R/code-checking.R:66:41: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:74:37: style: Put spaces around all infix operators.
R/code-checking.R:83:1: style: Lines should not be more than 100 characters.
R/code-checking.R:87:1: style: Lines should not be more than 100 characters.
R/code-checking.R:91:16: style: Commented code should be removed.
R/code-checking.R:92:53: style: Commas should always have a space after.
R/code-checking.R:146:39: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:163:1: style: Lines should not be more than 100 characters.
R/code-checking.R:163:100: style: Put spaces around all infix operators.
R/code-checking.R:170:1: style: Lines should not be more than 100 characters.
R/code-checking.R:170:96: style: Put spaces around all infix operators.
R/code-checking.R:182:48: style: Do not place spaces around code in parentheses or square brackets.
R/code-checking.R:185:62: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:191:1: style: Lines should not be more than 100 characters.
R/code-checking.R:201:19: style: Place a space before left parenthesis, except in a function call.
R/code-checking.R:211:62: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:216:29: style: Place a space before left parenthesis, except in a function call.
R/code-checking.R:234:12: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:284:1: style: Lines should not be more than 100 characters.
R/code-checking.R:319:1: style: Lines should not be more than 100 characters.
R/code-checking.R:326:62: style: Put spaces around all infix operators.
R/code-checking.R:327:65: style: Put spaces around all infix operators.
R/code-checking.R:328:53: style: Put spaces around all infix operators.
R/code-checking.R:329:56: style: Put spaces around all infix operators.
R/code-checking.R:351:1: style: Lines should not be more than 100 characters.
R/code-checking.R:360:31: style: Opening curly braces should never go on their own line and should always be followed by a new line.
R/code-checking.R:367:51: style: Commas should always have a space after.
R/code-checking.R:367:56: style: Commas should always have a space after.
R/code-checking.R:382:51: style: Commas should always have a space after.
R/code-checking.R:382:56: style: Commas should always have a space after.
R/code-checking.R:383:1: style: Lines should not be more than 100 characters.
R/code-checking.R:393:90: style: Commas should always have a space after.
R/code-checking.R:435:1: style: Lines should not be more than 100 characters.
R/code-checking.R:436:1: style: Lines should not be more than 100 characters.
R/code-checking.R:437:1: style: Lines should not be more than 100 characters.
R/code-checking.R:438:1: style: Lines should not be more than 100 characters.
R/code-checking.R:438:107: style: Commas should always have a space after.
R/code-checking.R:439:1: style: Lines should not be more than 100 characters.
R/code-checking.R:451:1: style: Lines should not be more than 100 characters.
R/code-checking.R:457:1: style: Lines should not be more than 100 characters.
R/code-checking.R:458:55: style: Commas should always have a space after.
R/code-checking.R:458:67: style: Commas should always have a space after.
R/code-checking.R:459:1: style: Lines should not be more than 100 characters.
R/code-checking.R:459:64: style: Commas should always have a space after.
R/code-checking.R:459:76: style: Commas should always have a space after.
R/code-checking.R:464:1: style: Lines should not be more than 100 characters.
R/code-checking.R:470:1: style: Lines should not be more than 100 characters.
R/code-checking.R:471:55: style: Commas should always have a space after.
R/code-checking.R:471:67: style: Commas should always have a space after.
R/code-checking.R:472:1: style: Lines should not be more than 100 characters.
R/code-checking.R:472:64: style: Commas should always have a space after.
R/code-checking.R:472:76: style: Commas should always have a space after.
R/code-checking.R:490:1: style: Lines should not be more than 100 characters.
R/code-checking.R:491:56: style: Commas should always have a space after.
R/code-checking.R:491:68: style: Commas should always have a space after.
R/code-checking.R:492:1: style: Lines should not be more than 100 characters.
R/code-checking.R:492:65: style: Commas should always have a space after.
R/code-checking.R:492:77: style: Commas should always have a space after.
R/code-checking.R:502:13: style: Commas should always have a space after.
R/code-checking.R:502:18: style: Commas should always have a space after.
R/code-checking.R:504:18: style: Commas should always have a space after.
R/code-checking.R:504:23: style: Commas should always have a space after.
R/code-checking.R:572:45: style: Put spaces around all infix operators.
R/code-checking.R:622:45: style: Put spaces around all infix operators.
R/code-checking.R:637:1: style: Lines should not be more than 100 characters.
R/code-checking.R:639:1: style: Lines should not be more than 100 characters.
R/code-checking.R:642:1: style: Lines should not be more than 100 characters.
R/code-checking.R:644:6: style: Commented code should be removed.
R/code-checking.R:648:34: style: Commas should always have a space after.
R/code-checking.R:648:64: style: Commas should always have a space after.
R/code-checking.R:648:79: style: Do not place spaces around code in parentheses or square brackets.
R/copy.R:37:13: style: Variable or function name should be lowerCamelCase.
R/experiment.R:200:6: style: Commented code should be removed.
R/experiment.R:215:7: style: Commented code should be removed.
R/experiment.R:216:7: style: Commented code should be removed.
R/experiment.R:218:6: style: Commented code should be removed.
R/experiment.R:222:11: style: Commented code should be removed.
R/experiment.R:314:58: style: Commented code should be removed.
R/helpers.R:228:74: style: Place a space before left parenthesis, except in a function call.
R/load.R:198:1: style: Lines should not be more than 100 characters.
R/misc-methods.R:467:55: style: Do not place spaces around code in parentheses or square brackets.
R/module-define.R:722:63: style: Do not place spaces around code in parentheses or square brackets.
R/module-dependencies-class.R:53:13: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-class.R:172:9: style: Commented code should be removed.
R/module-dependencies-class.R:174:9: style: Do not place spaces around code in parentheses or square brackets.
R/module-dependencies-class.R:174:78: style: Do not place spaces around code in parentheses or square brackets.
R/module-dependencies-methods.R:43:5: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:56:3: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:56:13: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:61:7: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:62:7: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:65:9: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:68:9: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:80:5: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:83:15: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:85:5: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:164:5: style: Variable or function name should be lowerCamelCase.
R/module-dependencies-methods.R:196:39: style:
%>%
should always have a space before it and a new line after it, unless the full pipeline fits on one line.R/module-dependencies-methods.R:210:26: style:
%>%
should always have a space before it and a new line after it, unless the full pipeline fits on one line.R/module-dependencies-methods.R:246:79: style: Do not place spaces around code in parentheses or square brackets.
R/module-repository.R:28:1: style: Lines should not be more than 100 characters.
R/module-repository.R:52:1: style: Lines should not be more than 100 characters.
R/module-repository.R:295:8: style: Commented code should be removed.
R/module-repository.R:307:1: style: Lines should not be more than 100 characters.
R/module-repository.R:403:1: style: Trailing blank lines are superfluous.
^
R/module-repository.R:404:1: style: Trailing blank lines are superfluous.
^