{"action":"created","issue":{"url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/8","labels_url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/8/comments","events_url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/8/events","html_url":"https://github.com/danielmarcelino/SciencesPo/pull/8","id":116546820,"number":8,"title":"Funmatch","user":{"login":"elinw","id":754813,"avatar_url":"https://avatars.githubusercontent.com/u/754813?v=3","gravatar_id":"","url":"https://api.github.com/users/elinw","html_url":"https://github.com/elinw","followers_url":"https://api.github.com/users/elinw/followers","following_url":"https://api.github.com/users/elinw/following{/other_user}","gists_url":"https://api.github.com/users/elinw/gists{/gist_id}","starred_url":"https://api.github.com/users/elinw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elinw/subscriptions","organizations_url":"https://api.github.com/users/elinw/orgs","repos_url":"https://api.github.com/users/elinw/repos","events_url":"https://api.github.com/users/elinw/events{/privacy}","received_events_url":"https://api.github.com/users/elinw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T13:15:57Z","updated_at":"2015-11-12T14:31:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/danielmarcelino/SciencesPo/pulls/8","html_url":"https://github.com/danielmarcelino/SciencesPo/pull/8","diff_url":"https://github.com/danielmarcelino/SciencesPo/pull/8.diff","patch_url":"https://github.com/danielmarcelino/SciencesPo/pull/8.patch"},"body":"In bootstrap and jackknife the name of a function (e.g. 'mean') is passed in, and then currently the functions attempt to call them directly from the string. However this does not work. You need to use `match.fun(FUN)`  to have the string treated as a function.  Also I made the documentation more explicity say that FUN needs to be a string (e.g. 'mean', 'var', 'cov'  not mean, var, cov).  \r\nIn `jackknife()` I also did a separate commit to only calculate `est` once which makes it run a bit faster.  "},"comment":{"url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/comments/156116438","html_url":"https://github.com/danielmarcelino/SciencesPo/pull/8#issuecomment-156116438","issue_url":"https://api.github.com/repos/danielmarcelino/SciencesPo/issues/8","id":156116438,"user":{"login":"elinw","id":754813,"avatar_url":"https://avatars.githubusercontent.com/u/754813?v=3","gravatar_id":"","url":"https://api.github.com/users/elinw","html_url":"https://github.com/elinw","followers_url":"https://api.github.com/users/elinw/followers","following_url":"https://api.github.com/users/elinw/following{/other_user}","gists_url":"https://api.github.com/users/elinw/gists{/gist_id}","starred_url":"https://api.github.com/users/elinw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elinw/subscriptions","organizations_url":"https://api.github.com/users/elinw/orgs","repos_url":"https://api.github.com/users/elinw/repos","events_url":"https://api.github.com/users/elinw/events{/privacy}","received_events_url":"https://api.github.com/users/elinw/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T14:31:06Z","updated_at":"2015-11-12T14:31:06Z","body":"Also this seems to depend on version of R, some versions it works fine as is (though still quicker with the second commit)."}}