{"action":"opened","issue":{"url":"https://api.github.com/repos/DavisVaughan/furrr/issues/50","repository_url":"https://api.github.com/repos/DavisVaughan/furrr","labels_url":"https://api.github.com/repos/DavisVaughan/furrr/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/DavisVaughan/furrr/issues/50/comments","events_url":"https://api.github.com/repos/DavisVaughan/furrr/issues/50/events","html_url":"https://github.com/DavisVaughan/furrr/issues/50","id":365230177,"node_id":"MDU6SXNzdWUzNjUyMzAxNzc=","number":50,"title":"Custom methods isn't visible for workers in PSOCK cluster","user":{"login":"statist-bhfz","id":7324186,"node_id":"MDQ6VXNlcjczMjQxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/7324186?v=4","gravatar_id":"","url":"https://api.github.com/users/statist-bhfz","html_url":"https://github.com/statist-bhfz","followers_url":"https://api.github.com/users/statist-bhfz/followers","following_url":"https://api.github.com/users/statist-bhfz/following{/other_user}","gists_url":"https://api.github.com/users/statist-bhfz/gists{/gist_id}","starred_url":"https://api.github.com/users/statist-bhfz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statist-bhfz/subscriptions","organizations_url":"https://api.github.com/users/statist-bhfz/orgs","repos_url":"https://api.github.com/users/statist-bhfz/repos","events_url":"https://api.github.com/users/statist-bhfz/events{/privacy}","received_events_url":"https://api.github.com/users/statist-bhfz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-30T14:42:36Z","updated_at":"2018-09-30T14:42:36Z","closed_at":null,"author_association":"NONE","body":"I have an issue when creating PSOCK cluster on Windows machine:\r\n```\r\nlibrary(furrr)\r\ncl <- parallel::makePSOCKcluster(3)\r\nplan(cluster, workers = cl)\r\nfuture_map_dfr(...)\r\n```\r\nIt works great until I pass to `future_map_dfr` function which use custom methods for `predict`. These metods are defined in sourced .R file and visible in global enviromnet. When I call `clusterEvalQ()` with all required `source()` inside and/or `clusterExport()` with all functions names, it has no effect.\r\n`future::makeClusterPSOCK()` and `plan(multiprocess)` give me the same error.\r\n\r\n"}}
{"actor":{"display_login":"statist-bhfz"}}