{"action":"closed","issue":{"url":"https://api.github.com/repos/richfitz/remake/issues/147","repository_url":"https://api.github.com/repos/richfitz/remake","labels_url":"https://api.github.com/repos/richfitz/remake/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/richfitz/remake/issues/147/comments","events_url":"https://api.github.com/repos/richfitz/remake/issues/147/events","html_url":"https://github.com/richfitz/remake/issues/147","id":201388007,"number":147,"title":"R6 Class definition fails","user":{"login":"sakrejda","id":508137,"avatar_url":"https://avatars.githubusercontent.com/u/508137?v=3","gravatar_id":"","url":"https://api.github.com/users/sakrejda","html_url":"https://github.com/sakrejda","followers_url":"https://api.github.com/users/sakrejda/followers","following_url":"https://api.github.com/users/sakrejda/following{/other_user}","gists_url":"https://api.github.com/users/sakrejda/gists{/gist_id}","starred_url":"https://api.github.com/users/sakrejda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakrejda/subscriptions","organizations_url":"https://api.github.com/users/sakrejda/orgs","repos_url":"https://api.github.com/users/sakrejda/repos","events_url":"https://api.github.com/users/sakrejda/events{/privacy}","received_events_url":"https://api.github.com/users/sakrejda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-17T19:52:30Z","updated_at":"2017-01-20T14:13:57Z","closed_at":"2017-01-20T14:13:57Z","body":"I tried to have remake include another `yml` file that has sources defining an R6 class. R6 is included in the packages section but I get an error that R6Class is not found.\r\n\r\nTo reproduce just clone the repo: https://github.com/sakrejda/remake-fail.git\r\nThen run remake::make() from the remake-fail directory, you will get something like:\r\n\r\n```\r\nSPH-KSakrejda:whut krzysztof$ Rscript -e 'remake::make()'\r\n[  LOAD ] \r\n[  READ ]            |  # loading sources\r\nError: while sourcing 'scripts/data-processing/time-schemes.R':\r\ncould not find function \"R6Class\"\r\nExecution halted\r\n```\r\n\r\nI'm pretty sure I'm just not understanding some of the restrictions on remake but it's not clear to me why this is happening."}}
{"actor":{"display_login":"sakrejda"}}