{"comment":{"url":"https://api.github.com/repos/zoonproject/zoon/comments/17106182","html_url":"https://github.com/zoonproject/zoon/commit/9b6f89ab9b812702c603c68e24dc0cef4f778876#commitcomment-17106182","id":17106182,"user":{"login":"AugustT","id":3987564,"avatar_url":"https://avatars.githubusercontent.com/u/3987564?v=3","gravatar_id":"","url":"https://api.github.com/users/AugustT","html_url":"https://github.com/AugustT","followers_url":"https://api.github.com/users/AugustT/followers","following_url":"https://api.github.com/users/AugustT/following{/other_user}","gists_url":"https://api.github.com/users/AugustT/gists{/gist_id}","starred_url":"https://api.github.com/users/AugustT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugustT/subscriptions","organizations_url":"https://api.github.com/users/AugustT/orgs","repos_url":"https://api.github.com/users/AugustT/repos","events_url":"https://api.github.com/users/AugustT/events{/privacy}","received_events_url":"https://api.github.com/users/AugustT/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"9b6f89ab9b812702c603c68e24dc0cef4f778876","created_at":"2016-04-14T15:43:33Z","updated_at":"2016-04-14T15:43:33Z","body":"@timcdlucas Do these tests run successfully for you? When I run them in the console they pass fine but when run as a part of all the other tests they fail\r\n\r\n```\r\n1. Error: Output understands which previous model was listed. (@testWholeWorkflows.R#596) \r\nStopping workflow due to error in covariate module.\r\n Workflow progress will be returned.\r\n1: workflow(occurrence = UKAnophelesPlumbeus, covariate = list(LocalRaster(UKAirRas2), \r\n       UKAir), process = OneHundredBackground, model = LogisticRegression, output = PrintMap) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/tests/testthat/testWholeWorkflows.R:596\r\n2: tryCatch({\r\n       covariate.output <- lapply(covariateName, FUN = DoCovariateModule, e)\r\n       if (identical(attr(covariate.module, \"chain\"), TRUE)) {\r\n           covariate.output <- list(do.call(raster::stack, covariate.output))\r\n           attr(covariate.output[[1]], \"call_path\") <- list(covariate = paste(\"Chain(\", \r\n               paste(lapply(covariateName, function(x) x$module), collapse = \", \"), \r\n               \")\", sep = \"\"))\r\n       }\r\n       output$covariate.output <- covariate.output\r\n   }, error = function(cond) {\r\n       ErrorModule(cond, 2, e)\r\n   }) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/workflow.R:161\r\n3: tryCatchList(expr, classes, parentenv, handlers)\r\n4: tryCatchOne(expr, names, parentenv, handlers[[1L]])\r\n5: value[[3L]](cond)\r\n6: ErrorModule(cond, 2, e) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/workflow.R:173\r\n7: stop(x, call. = FALSE) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/zoonHelpers.R:454\r\n\r\n2. Error: Output understands which previous model was listed. (@testWholeWorkflows.R#602) \r\nStopping workflow due to error in covariate module.\r\n Workflow progress will be returned.\r\n1: workflow(occurrence = UKAnophelesPlumbeus, covariate = list(LocalRaster(UKAirRas2), \r\n       UKAir), process = OneHundredBackground, model = LogisticRegression, output = Chain(PrintMap, \r\n       PrintMap)) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/tests/testthat/testWholeWorkflows.R:602\r\n2: tryCatch({\r\n       covariate.output <- lapply(covariateName, FUN = DoCovariateModule, e)\r\n       if (identical(attr(covariate.module, \"chain\"), TRUE)) {\r\n           covariate.output <- list(do.call(raster::stack, covariate.output))\r\n           attr(covariate.output[[1]], \"call_path\") <- list(covariate = paste(\"Chain(\", \r\n               paste(lapply(covariateName, function(x) x$module), collapse = \", \"), \r\n               \")\", sep = \"\"))\r\n       }\r\n       output$covariate.output <- covariate.output\r\n   }, error = function(cond) {\r\n       ErrorModule(cond, 2, e)\r\n   }) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/workflow.R:161\r\n3: tryCatchList(expr, classes, parentenv, handlers)\r\n4: tryCatchOne(expr, names, parentenv, handlers[[1L]])\r\n5: value[[3L]](cond)\r\n6: ErrorModule(cond, 2, e) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/workflow.R:173\r\n7: stop(x, call. = FALSE) at W:\\PYWELL_SHARED\\Pywell Projects\\BRC\\Tom August\\ZOON\\zoon_package/R/zoonHelpers.R:454\r\n\r\n3. Failure: Output understands which previous model was listed. (@testWholeWorkflows.R#610) \r\nsapply(work1, length)[-8] not equivalent to c(1, 2, 2, 2, 2, 1, 5, 5).\r\nnames for target but not for current\r\n\r\n\r\n4. Failure: Output understands which previous model was listed. (@testWholeWorkflows.R#614) \r\n`covarClasses1` not equivalent to c(...).\r\nLengths differ: 12 vs 20\r\n\r\n\r\n5. Failure: Output understands which previous model was listed. (@testWholeWorkflows.R#621) \r\nsapply(work2, length)[-8] not equivalent to c(1, 2, 2, 2, 2, 1, 5, 5).\r\nnames for target but not for current\r\n\r\n\r\n6. Failure: Output understands which previous model was listed. (@testWholeWorkflows.R#625) \r\n`covarClasses2` not equivalent to c(...).\r\nLengths differ: 12 vs 20\r\n```\r\n\r\nI wonder if this has something to do with line\r\n\r\n```r\r\nUKAirRas2 <- UKAirRas\r\n```\r\n\r\nI'm drawing a bit of a blank"}}