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
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Test that days is a nonnegative integer the same way as binom.test test x^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to NetworkSummary")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("root, inBegin, inEnd, outBegin and outEnd must have equal length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##' Get the OutDegree for a data.frame with movements, see details and examples.^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##' The \code{\link{OutgoingContactChain}} of the root within the time-interval^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##' Get the OutgoingContactChain for a data.frame with movements, see examples.^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Unable to determine OutgoingContactChain for ingoing contacts")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/plot.R:82:1:style:Lines should not be more than 80 characters.
##' available. To generate pdf files a TeX installation must exist to compile the^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##' @param template the Sweave template file to use. If none is provided, the default^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to ShortestPaths")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stop("root, inBegin, inEnd, outBegin and outEnd must have equal length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/show.R:102:1:style:Lines should not be more than 80 characters.
## Rename source and destination to lhs and rhs, with respect to direction^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/show.R:111:18:style:Place a space before left parenthesis, except in a function call.
for(iin seq_len(nrow(ns))) {
^
R/show.R:113:1:style:Lines should not be more than 80 characters.
R/show.R:119:1:style:Lines should not be more than 80 characters.
cat(sprintf("No %sgoing contacts during the search period.\n", object@direction))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:167:1:style:functions should have cyclomatic complexity of less than 15, this has 56.
Trace<-function(movements,
^
R/trace.R:207:1:style:Lines should not be more than 80 characters.
if (any(is.factor(movements$destination), is.integer(movements$destination))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:252:1:style:Lines should not be more than 80 characters.
if (any(is.factor(movements$category), is.integer(movements$category))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:306:1:style:Lines should not be more than 80 characters.
if (!all(is.null(inBegin), is.null(inEnd), is.null(outBegin), is.null(outEnd))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:307:1:style:Lines should not be more than 80 characters.
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to Trace")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:318:1:style:Lines should not be more than 80 characters.
## Test that days is a nonnegative integer the same way as binom.test test x^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:345:1:style:Lines should not be more than 80 characters.
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to Trace")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:348:1:style:Lines should not be more than 80 characters.
stop("Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to Trace")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:458:1:style:Lines should not be more than 80 characters.
R/trace.R:481:1:style:Lines should not be more than 80 characters.
## Create an index to contacts, so that the result matrix can be reconstructed^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:509:1:style:Lines should not be more than 80 characters.
## Create an index to contacts, so that the result matrix can be reconstructed^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:535:1:style:Lines should not be more than 80 characters.
## Name each list item with ContactTrace objects to the name of the ContactTrace root.^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/trace.R:536:1:style:Lines should not be more than 80 characters.
R/tree.R:131:1:style:Lines should not be more than 80 characters.
##' \item John Q. Walker II, A node positioning algorithm for general tress.\cr^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/tree.R:134:1:style:functions should have cyclomatic complexity of less than 15, this has 48.
position_tree<-function(tree,
^
R/tree.R:152:14:style:Place a space before left parenthesis, except in a function call.
while(all(!is.null(left_most),
^
R/tree.R:162:16:style:Place a space before left parenthesis, except in a function call.
for(iin seq_len(compare_depth)) {
^
R/tree.R:182:22:style:Place a space before left parenthesis, except in a function call.
while(all(!is.null(temp_node),
^
R/tree.R:194:26:style:Place a space before left parenthesis, except in a function call.
## Use either tEnd and days or inBegin, inEnd, outBegin and outEnd in call to Trace^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78387ba
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.
R/network-structure.R:135:1: style: Lines should not be more than 80 characters.
R/network-summary.R:248:1: style: Lines should not be more than 80 characters.
R/network-summary.R:251:1: style: Lines should not be more than 80 characters.
R/network-summary.R:254:1: style: Lines should not be more than 80 characters.
R/network-summary.R:255:1: style: Lines should not be more than 80 characters.
R/network-summary.R:261:1: style: functions should have cyclomatic complexity of less than 15, this has 38.
R/network-summary.R:315:1: style: Lines should not be more than 80 characters.
R/network-summary.R:323:20: style: Only use double-quotes.
R/network-summary.R:331:1: style: Lines should not be more than 80 characters.
R/network-summary.R:332:1: style: Lines should not be more than 80 characters.
R/network-summary.R:343:1: style: Lines should not be more than 80 characters.
R/network-summary.R:345:1: style: Lines should not be more than 80 characters.
R/network-summary.R:365:1: style: Lines should not be more than 80 characters.
R/network-summary.R:370:1: style: Lines should not be more than 80 characters.
R/network-summary.R:373:1: style: Lines should not be more than 80 characters.
R/network-summary.R:456:1: style: Lines should not be more than 80 characters.
R/network-summary.R:468:24: style: Put spaces around all infix operators.
R/network-summary.R:469:1: style: Lines should not be more than 80 characters.
R/network-summary.R:470:1: style: Lines should not be more than 80 characters.
R/network-summary.R:472:1: style: Lines should not be more than 80 characters.
R/network-summary.R:489:1: style: Lines should not be more than 80 characters.
R/network-summary.R:490:1: style: Lines should not be more than 80 characters.
R/out-degree.R:119:1: style: Lines should not be more than 80 characters.
R/outgoing-contact-chain.R:67:1: style: Lines should not be more than 80 characters.
R/outgoing-contact-chain.R:77:1: style: Lines should not be more than 80 characters.
R/outgoing-contact-chain.R:137:1: style: Lines should not be more than 80 characters.
R/plot.R:82:1: style: Lines should not be more than 80 characters.
R/plot.R:95:1: style: Lines should not be more than 80 characters.
R/report.R:30:8: style: Place a space before left parenthesis, except in a function call.
R/report.R:35:1: style: Lines should not be more than 80 characters.
R/report.R:44:1: style: Lines should not be more than 80 characters.
R/report.R:73:1: style: Lines should not be more than 80 characters.
R/report.R:78:1: style: Lines should not be more than 80 characters.
R/report.R:81:1: style: Lines should not be more than 80 characters.
R/report.R:83:12: style: Place a space before left parenthesis, except in a function call.
R/report.R:112:1: style: Lines should not be more than 80 characters.
R/report.R:117:1: style: Lines should not be more than 80 characters.
R/report.R:118:1: style: Lines should not be more than 80 characters.
R/report.R:119:1: style: Lines should not be more than 80 characters.
R/report.R:120:1: style: Lines should not be more than 80 characters.
R/report.R:121:1: style: Lines should not be more than 80 characters.
R/report.R:135:1: style: Lines should not be more than 80 characters.
R/report.R:143:1: style: Lines should not be more than 80 characters.
R/report.R:144:1: style: Lines should not be more than 80 characters.
R/report.R:145:1: style: Lines should not be more than 80 characters.
R/report.R:146:1: style: Lines should not be more than 80 characters.
R/report.R:147:1: style: Lines should not be more than 80 characters.
R/report.R:161:1: style: Lines should not be more than 80 characters.
R/report.R:237:1: style: Lines should not be more than 80 characters.
R/report.R:260:1: style: Lines should not be more than 80 characters.
R/report.R:345:1: style: Lines should not be more than 80 characters.
R/report.R:348:1: style: Lines should not be more than 80 characters.
R/report.R:351:45: style: Put spaces around all infix operators.
R/report.R:352:1: style: Lines should not be more than 80 characters.
R/report.R:353:1: style: Lines should not be more than 80 characters.
R/report.R:400:1: style: Opening curly braces should never go on their own line and should always be followed by a new line.
{ ^
R/shortest-paths.R:168:1: style: functions should have cyclomatic complexity of less than 15, this has 41.
R/shortest-paths.R:239:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:240:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:254:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:274:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:279:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:282:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:365:1: style: Lines should not be more than 80 characters.
R/shortest-paths.R:411:1: style: Lines should not be more than 80 characters.
R/show.R:76:7: style: Opening curly braces should never go on their own line and should always be followed by a new line.
{ ^
R/show.R:88:1: style: Lines should not be more than 80 characters.
R/show.R:91:1: style: Lines should not be more than 80 characters.
R/show.R:102:1: style: Lines should not be more than 80 characters.
R/show.R:111:18: style: Place a space before left parenthesis, except in a function call.
R/show.R:113:1: style: Lines should not be more than 80 characters.
R/show.R:113:91: style: Put spaces around all infix operators.
R/show.R:119:1: style: Lines should not be more than 80 characters.
R/trace.R:167:1: style: functions should have cyclomatic complexity of less than 15, this has 56.
R/trace.R:207:1: style: Lines should not be more than 80 characters.
R/trace.R:252:1: style: Lines should not be more than 80 characters.
R/trace.R:306:1: style: Lines should not be more than 80 characters.
R/trace.R:307:1: style: Lines should not be more than 80 characters.
R/trace.R:318:1: style: Lines should not be more than 80 characters.
R/trace.R:335:31: style: Put spaces around all infix operators.
R/trace.R:335:38: style: Put spaces around all infix operators.
R/trace.R:335:57: style: Put spaces around all infix operators.
R/trace.R:336:32: style: Put spaces around all infix operators.
R/trace.R:336:51: style: Put spaces around all infix operators.
R/trace.R:337:42: style: Put spaces around all infix operators.
R/trace.R:337:56: style: Put spaces around all infix operators.
R/trace.R:340:1: style: Lines should not be more than 80 characters.
R/trace.R:345:1: style: Lines should not be more than 80 characters.
R/trace.R:348:1: style: Lines should not be more than 80 characters.
R/trace.R:458:1: style: Lines should not be more than 80 characters.
R/trace.R:459:1: style: Lines should not be more than 80 characters.
R/trace.R:471:16: style: Put spaces around all infix operators.
R/trace.R:481:1: style: Lines should not be more than 80 characters.
R/trace.R:483:12: style: Commented code should be removed.
R/trace.R:484:1: style: Lines should not be more than 80 characters.
R/trace.R:484:76: style: Put spaces around all infix operators.
R/trace.R:485:72: style: Put spaces around all infix operators.
R/trace.R:509:1: style: Lines should not be more than 80 characters.
R/trace.R:511:12: style: Commented code should be removed.
R/trace.R:512:1: style: Lines should not be more than 80 characters.
R/trace.R:512:76: style: Put spaces around all infix operators.
R/trace.R:513:72: style: Put spaces around all infix operators.
R/trace.R:535:1: style: Lines should not be more than 80 characters.
R/trace.R:536:1: style: Lines should not be more than 80 characters.
R/tree.R:38:27: style: Put spaces around all infix operators.
R/tree.R:38:42: style: Put spaces around all infix operators.
R/tree.R:53:12: style: Place a space before left parenthesis, except in a function call.
R/tree.R:54:16: style: Place a space before left parenthesis, except in a function call.
R/tree.R:64:38: style: Put spaces around all infix operators.
R/tree.R:83:12: style: Place a space before left parenthesis, except in a function call.
R/tree.R:84:16: style: Place a space before left parenthesis, except in a function call.
R/tree.R:94:38: style: Put spaces around all infix operators.
R/tree.R:131:1: style: Lines should not be more than 80 characters.
R/tree.R:134:1: style: functions should have cyclomatic complexity of less than 15, this has 48.
R/tree.R:152:14: style: Place a space before left parenthesis, except in a function call.
R/tree.R:162:16: style: Place a space before left parenthesis, except in a function call.
R/tree.R:182:22: style: Place a space before left parenthesis, except in a function call.
R/tree.R:194:26: style: Place a space before left parenthesis, except in a function call.
R/tree.R:196:1: style: Lines should not be more than 80 characters.
R/tree.R:226:29: style: Put spaces around all infix operators.
R/tree.R:241:18: style: Place a space before left parenthesis, except in a function call.
R/tree.R:273:30: style: Put spaces around all infix operators.
R/tree.R:389:26: style: Put spaces around all infix operators.
R/tree.R:398:26: style: Put spaces around all infix operators.
R/tree.R:431:18: style: Place a space before left parenthesis, except in a function call.
tests/arguments.R:172:1: style: Lines should not be more than 80 characters.
tests/arguments.R:224:1: style: Lines should not be more than 80 characters.
tests/arguments.R:235:44: style: Commas should always have a space after.
tests/arguments.R:236:49: style: Commas should always have a space after.
tests/arguments.R:248:44: style: Commas should always have a space after.
tests/arguments.R:249:49: style: Commas should always have a space after.
tests/arguments.R:261:44: style: Commas should always have a space after.
tests/arguments.R:262:49: style: Commas should always have a space after.
tests/arguments.R:274:44: style: Commas should always have a space after.
tests/arguments.R:275:49: style: Commas should always have a space after.
tests/arguments.R:394:4: style: Commented code should be removed.
tests/arguments.R:407:4: style: Commented code should be removed.
tests/contact-chain.R:51:1: style: Put spaces around all infix operators.
tests/contact-chain.R:71:31: style: Do not place spaces around code in parentheses or square brackets.
tests/contact-chain.R:73:1: style: Put spaces around all infix operators.
tests/contact-chain.R:91:1: style: Put spaces around all infix operators.
tests/contact-chain.R:95:28: style: Do not place spaces around code in parentheses or square brackets.
tests/contact-chain.R:112:31: style: Do not place spaces around code in parentheses or square brackets.
tests/contact-chain.R:114:1: style: Put spaces around all infix operators.
tests/contact-chain.R:156:37: style: Put spaces around all infix operators.
tests/contact-chain.R:156:45: style: Put spaces around all infix operators.
tests/contact-chain.R:156:64: style: Put spaces around all infix operators.
tests/misc.R:329:44: style: Commas should always have a space after.
tests/misc.R:336:44: style: Commas should always have a space after.
tests/network-summary.R:31:10: style: Put spaces around all infix operators.