{"action":"closed","issue":{"url":"https://api.github.com/repos/zoonproject/zoon/issues/196","labels_url":"https://api.github.com/repos/zoonproject/zoon/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/zoonproject/zoon/issues/196/comments","events_url":"https://api.github.com/repos/zoonproject/zoon/issues/196/events","html_url":"https://github.com/zoonproject/zoon/issues/196","id":111006914,"number":196,"title":"ChangeWorkflow, cannot change to Chain","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},"labels":[{"url":"https://api.github.com/repos/zoonproject/zoon/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/zoonproject/zoon/milestones/2","html_url":"https://github.com/zoonproject/zoon/milestones/CRAN","labels_url":"https://api.github.com/repos/zoonproject/zoon/milestones/2/labels","id":1286549,"number":2,"title":"CRAN","description":null,"creator":{"login":"timcdlucas","id":3583796,"avatar_url":"https://avatars.githubusercontent.com/u/3583796?v=3","gravatar_id":"","url":"https://api.github.com/users/timcdlucas","html_url":"https://github.com/timcdlucas","followers_url":"https://api.github.com/users/timcdlucas/followers","following_url":"https://api.github.com/users/timcdlucas/following{/other_user}","gists_url":"https://api.github.com/users/timcdlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/timcdlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcdlucas/subscriptions","organizations_url":"https://api.github.com/users/timcdlucas/orgs","repos_url":"https://api.github.com/users/timcdlucas/repos","events_url":"https://api.github.com/users/timcdlucas/events{/privacy}","received_events_url":"https://api.github.com/users/timcdlucas/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":11,"state":"open","created_at":"2015-09-02T15:13:25Z","updated_at":"2015-10-26T14:01:51Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-12T16:11:26Z","updated_at":"2015-10-26T14:01:51Z","closed_at":"2015-10-26T14:01:51Z","body":"I have come across this while writing tests. It is not possible the change a workflow using a chain. \r\n\r\n```r  \r\n# Original run\r\n  set.seed(1)\r\n  w1 <- workflow(UKAnophelesPlumbeus,\r\n                 UKAir, \r\n                 OneHundredBackground,\r\n                 LogisticRegression,\r\n                 SameTimePlaceMap)\r\n  \r\n  set.seed(1)\r\n  w9 <- ChangeWorkflow(w1,\r\n                       occurrence = Chain(UKAnophelesPlumbeus, UKAnophelesPlumbeus)\r\n                       )\r\n```\r\n\r\n```\r\nError in oldCallArgs[[\"occurrence\"]] <- as.character(occSub) : \r\n  more elements supplied than there are to replace\r\n```\r\n\r\nLooks like the function is not setup to consider chains or lists and might need quite a few changes to fix."}}