{"action":"created","issue":{"url":"https://api.github.com/repos/SACEMA/inctools/issues/5","repository_url":"https://api.github.com/repos/SACEMA/inctools","labels_url":"https://api.github.com/repos/SACEMA/inctools/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/SACEMA/inctools/issues/5/comments","events_url":"https://api.github.com/repos/SACEMA/inctools/issues/5/events","html_url":"https://github.com/SACEMA/inctools/issues/5","id":153971630,"number":5,"title":"Note about \"no visible binding\"","user":{"login":"eduardgrebe","id":613657,"avatar_url":"https://avatars.githubusercontent.com/u/613657?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardgrebe","html_url":"https://github.com/eduardgrebe","followers_url":"https://api.github.com/users/eduardgrebe/followers","following_url":"https://api.github.com/users/eduardgrebe/following{/other_user}","gists_url":"https://api.github.com/users/eduardgrebe/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardgrebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardgrebe/subscriptions","organizations_url":"https://api.github.com/users/eduardgrebe/orgs","repos_url":"https://api.github.com/users/eduardgrebe/repos","events_url":"https://api.github.com/users/eduardgrebe/events{/privacy}","received_events_url":"https://api.github.com/users/eduardgrebe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/SACEMA/inctools/milestones/1","html_url":"https://github.com/SACEMA/inctools/milestones/v1.0.0","labels_url":"https://api.github.com/repos/SACEMA/inctools/milestones/1/labels","id":1749461,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"eduardgrebe","id":613657,"avatar_url":"https://avatars.githubusercontent.com/u/613657?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardgrebe","html_url":"https://github.com/eduardgrebe","followers_url":"https://api.github.com/users/eduardgrebe/followers","following_url":"https://api.github.com/users/eduardgrebe/following{/other_user}","gists_url":"https://api.github.com/users/eduardgrebe/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardgrebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardgrebe/subscriptions","organizations_url":"https://api.github.com/users/eduardgrebe/orgs","repos_url":"https://api.github.com/users/eduardgrebe/repos","events_url":"https://api.github.com/users/eduardgrebe/events{/privacy}","received_events_url":"https://api.github.com/users/eduardgrebe/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2016-05-05T11:42:04Z","updated_at":"2016-05-10T10:17:44Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-10T10:17:44Z","updated_at":"2016-05-10T10:38:17Z","closed_at":null,"body":"```\r\nStatus: 1 NOTE\r\nchecking R code for possible problems ... NOTE\r\nfit_binomial_model: no visible binding for global variable\r\n  ‘tolerance_glm2’\r\nfit_binomial_model: no visible binding for global variable ‘maxit_glm2’\r\nfrrcal: no visible binding for global variable ‘time_since_eddi’\r\nfrrcal: no visible binding for global variable ‘sid’\r\nintegrate_for_mdri: no visible binding for global variable\r\n  ‘tolerance_integral’\r\nintegrate_for_mdri: no visible binding for global variable\r\n  ‘maxit_integral’\r\nmdrical: no visible global function definition for ‘%dopar%’\r\nmdrical: no visible binding for global variable ‘sid’\r\nplot_probability: no visible binding for global variable\r\n  ‘time_since_eddi’\r\nplot_probability: no visible binding for global variable ‘probability’\r\n```"},"comment":{"url":"https://api.github.com/repos/SACEMA/inctools/issues/comments/218120955","html_url":"https://github.com/SACEMA/inctools/issues/5#issuecomment-218120955","issue_url":"https://api.github.com/repos/SACEMA/inctools/issues/5","id":218120955,"user":{"login":"eduardgrebe","id":613657,"avatar_url":"https://avatars.githubusercontent.com/u/613657?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardgrebe","html_url":"https://github.com/eduardgrebe","followers_url":"https://api.github.com/users/eduardgrebe/followers","following_url":"https://api.github.com/users/eduardgrebe/following{/other_user}","gists_url":"https://api.github.com/users/eduardgrebe/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardgrebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardgrebe/subscriptions","organizations_url":"https://api.github.com/users/eduardgrebe/orgs","repos_url":"https://api.github.com/users/eduardgrebe/repos","events_url":"https://api.github.com/users/eduardgrebe/events{/privacy}","received_events_url":"https://api.github.com/users/eduardgrebe/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T10:38:17Z","updated_at":"2016-05-10T10:38:17Z","body":"I can see no way of resolving this note at present. 'time_since_eddi', 'sid' and 'probability' are names assigned to columns in dataframes which are later referred to without the '$' notation because of the way the functions in question work. So it erroneously believes these to be global variables, when they are in fact not.\r\n\r\nThe issue with '%dopar%' is that doMC and foreach are not imported. They are only installed and loaded on non-Windows systems. If we made them dependencies the package would become incompatible with Windows. I haven't actually tried importing them and seeing what it does on Windows. I might check that now.\r\n"}}