{"action":"closed","issue":{"url":"https://api.github.com/repos/HenrikBengtsson/aroma.seq/issues/32","labels_url":"https://api.github.com/repos/HenrikBengtsson/aroma.seq/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/HenrikBengtsson/aroma.seq/issues/32/comments","events_url":"https://api.github.com/repos/HenrikBengtsson/aroma.seq/issues/32/events","html_url":"https://github.com/HenrikBengtsson/aroma.seq/issues/32","id":123984383,"number":32,"title":"FUTURE: Use do.call(fcn, ...) - not do.call(\"fcn\", ...)","user":{"login":"HenrikBengtsson","id":1616850,"avatar_url":"https://avatars.githubusercontent.com/u/1616850?v=3","gravatar_id":"","url":"https://api.github.com/users/HenrikBengtsson","html_url":"https://github.com/HenrikBengtsson","followers_url":"https://api.github.com/users/HenrikBengtsson/followers","following_url":"https://api.github.com/users/HenrikBengtsson/following{/other_user}","gists_url":"https://api.github.com/users/HenrikBengtsson/gists{/gist_id}","starred_url":"https://api.github.com/users/HenrikBengtsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HenrikBengtsson/subscriptions","organizations_url":"https://api.github.com/users/HenrikBengtsson/orgs","repos_url":"https://api.github.com/users/HenrikBengtsson/repos","events_url":"https://api.github.com/users/HenrikBengtsson/events{/privacy}","received_events_url":"https://api.github.com/users/HenrikBengtsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HenrikBengtsson/aroma.seq/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-27T15:59:16Z","updated_at":"2015-12-27T20:50:44Z","closed_at":"2015-12-27T20:50:44Z","body":"When calling a function via `do.call()`, specify the function by itself and not by its name, e.g.\r\n```r\r\n## GOOD\r\ny <- do.call(backgroundCorrect, args=args)\r\n\r\n## BAD\r\ny <- do.call(\"backgroundCorrect\", args=args)\r\n```\r\nThe former will cause `backgroundCorrect()` to be identified as a global object by the [globals](https://cran.r-project.org/package=globals) such that it is properly exported when evaluated by a [future](https://cran.r-project.org/package=future)."}}