{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/hadley/memoise/pulls/15","id":49626170,"html_url":"https://github.com/hadley/memoise/pull/15","diff_url":"https://github.com/hadley/memoise/pull/15.diff","patch_url":"https://github.com/hadley/memoise/pull/15.patch","issue_url":"https://api.github.com/repos/hadley/memoise/issues/15","number":15,"state":"open","locked":false,"title":"Print method for memoised functions","user":{"login":"jimhester","id":205275,"avatar_url":"https://avatars.githubusercontent.com/u/205275?v=3","gravatar_id":"","url":"https://api.github.com/users/jimhester","html_url":"https://github.com/jimhester","followers_url":"https://api.github.com/users/jimhester/followers","following_url":"https://api.github.com/users/jimhester/following{/other_user}","gists_url":"https://api.github.com/users/jimhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jimhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimhester/subscriptions","organizations_url":"https://api.github.com/users/jimhester/orgs","repos_url":"https://api.github.com/users/jimhester/repos","events_url":"https://api.github.com/users/jimhester/events{/privacy}","received_events_url":"https://api.github.com/users/jimhester/received_events","type":"User","site_admin":false},"body":"The default print method for memoised functions wasn't very useful, as you couldn't see the function definition, just the memoised part.\r\n\r\nThis simply calls the input functions print method along with adding a note that the function in memoised.","created_at":"2015-11-03T23:08:37Z","updated_at":"2015-11-03T23:08:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hadley/memoise/pulls/15/commits","review_comments_url":"https://api.github.com/repos/hadley/memoise/pulls/15/comments","review_comment_url":"https://api.github.com/repos/hadley/memoise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hadley/memoise/issues/15/comments","statuses_url":"https://api.github.com/repos/hadley/memoise/statuses/4bdba1c0c11922a6b7e0560cefd05174fe9cdb4d","head":{"label":"jimhester:print","ref":"print","sha":"4bdba1c0c11922a6b7e0560cefd05174fe9cdb4d","user":{"login":"jimhester","id":205275,"avatar_url":"https://avatars.githubusercontent.com/u/205275?v=3","gravatar_id":"","url":"https://api.github.com/users/jimhester","html_url":"https://github.com/jimhester","followers_url":"https://api.github.com/users/jimhester/followers","following_url":"https://api.github.com/users/jimhester/following{/other_user}","gists_url":"https://api.github.com/users/jimhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jimhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimhester/subscriptions","organizations_url":"https://api.github.com/users/jimhester/orgs","repos_url":"https://api.github.com/users/jimhester/repos","events_url":"https://api.github.com/users/jimhester/events{/privacy}","received_events_url":"https://api.github.com/users/jimhester/received_events","type":"User","site_admin":false},"repo":{"id":45501576,"name":"memoise","full_name":"jimhester/memoise","owner":{"login":"jimhester","id":205275,"avatar_url":"https://avatars.githubusercontent.com/u/205275?v=3","gravatar_id":"","url":"https://api.github.com/users/jimhester","html_url":"https://github.com/jimhester","followers_url":"https://api.github.com/users/jimhester/followers","following_url":"https://api.github.com/users/jimhester/following{/other_user}","gists_url":"https://api.github.com/users/jimhester/gists{/gist_id}","starred_url":"https://api.github.com/users/jimhester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimhester/subscriptions","organizations_url":"https://api.github.com/users/jimhester/orgs","repos_url":"https://api.github.com/users/jimhester/repos","events_url":"https://api.github.com/users/jimhester/events{/privacy}","received_events_url":"https://api.github.com/users/jimhester/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimhester/memoise","description":"Easy memoisation for R","fork":true,"url":"https://api.github.com/repos/jimhester/memoise","forks_url":"https://api.github.com/repos/jimhester/memoise/forks","keys_url":"https://api.github.com/repos/jimhester/memoise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimhester/memoise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimhester/memoise/teams","hooks_url":"https://api.github.com/repos/jimhester/memoise/hooks","issue_events_url":"https://api.github.com/repos/jimhester/memoise/issues/events{/number}","events_url":"https://api.github.com/repos/jimhester/memoise/events","assignees_url":"https://api.github.com/repos/jimhester/memoise/assignees{/user}","branches_url":"https://api.github.com/repos/jimhester/memoise/branches{/branch}","tags_url":"https://api.github.com/repos/jimhester/memoise/tags","blobs_url":"https://api.github.com/repos/jimhester/memoise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimhester/memoise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimhester/memoise/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimhester/memoise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimhester/memoise/statuses/{sha}","languages_url":"https://api.github.com/repos/jimhester/memoise/languages","stargazers_url":"https://api.github.com/repos/jimhester/memoise/stargazers","contributors_url":"https://api.github.com/repos/jimhester/memoise/contributors","subscribers_url":"https://api.github.com/repos/jimhester/memoise/subscribers","subscription_url":"https://api.github.com/repos/jimhester/memoise/subscription","commits_url":"https://api.github.com/repos/jimhester/memoise/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimhester/memoise/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimhester/memoise/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimhester/memoise/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimhester/memoise/contents/{+path}","compare_url":"https://api.github.com/repos/jimhester/memoise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimhester/memoise/merges","archive_url":"https://api.github.com/repos/jimhester/memoise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimhester/memoise/downloads","issues_url":"https://api.github.com/repos/jimhester/memoise/issues{/number}","pulls_url":"https://api.github.com/repos/jimhester/memoise/pulls{/number}","milestones_url":"https://api.github.com/repos/jimhester/memoise/milestones{/number}","notifications_url":"https://api.github.com/repos/jimhester/memoise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimhester/memoise/labels{/name}","releases_url":"https://api.github.com/repos/jimhester/memoise/releases{/id}","created_at":"2015-11-03T23:04:59Z","updated_at":"2015-11-03T23:05:02Z","pushed_at":"2015-11-03T23:06:49Z","git_url":"git://github.com/jimhester/memoise.git","ssh_url":"git@github.com:jimhester/memoise.git","clone_url":"https://github.com/jimhester/memoise.git","svn_url":"https://github.com/jimhester/memoise","homepage":"","size":316,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hadley:master","ref":"master","sha":"b3c077370ebb5e91a8969ae0e2511ed4ea611c85","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"repo":{"id":1072137,"name":"memoise","full_name":"hadley/memoise","owner":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hadley/memoise","description":"Easy memoisation for R","fork":false,"url":"https://api.github.com/repos/hadley/memoise","forks_url":"https://api.github.com/repos/hadley/memoise/forks","keys_url":"https://api.github.com/repos/hadley/memoise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hadley/memoise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hadley/memoise/teams","hooks_url":"https://api.github.com/repos/hadley/memoise/hooks","issue_events_url":"https://api.github.com/repos/hadley/memoise/issues/events{/number}","events_url":"https://api.github.com/repos/hadley/memoise/events","assignees_url":"https://api.github.com/repos/hadley/memoise/assignees{/user}","branches_url":"https://api.github.com/repos/hadley/memoise/branches{/branch}","tags_url":"https://api.github.com/repos/hadley/memoise/tags","blobs_url":"https://api.github.com/repos/hadley/memoise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hadley/memoise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hadley/memoise/git/refs{/sha}","trees_url":"https://api.github.com/repos/hadley/memoise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hadley/memoise/statuses/{sha}","languages_url":"https://api.github.com/repos/hadley/memoise/languages","stargazers_url":"https://api.github.com/repos/hadley/memoise/stargazers","contributors_url":"https://api.github.com/repos/hadley/memoise/contributors","subscribers_url":"https://api.github.com/repos/hadley/memoise/subscribers","subscription_url":"https://api.github.com/repos/hadley/memoise/subscription","commits_url":"https://api.github.com/repos/hadley/memoise/commits{/sha}","git_commits_url":"https://api.github.com/repos/hadley/memoise/git/commits{/sha}","comments_url":"https://api.github.com/repos/hadley/memoise/comments{/number}","issue_comment_url":"https://api.github.com/repos/hadley/memoise/issues/comments{/number}","contents_url":"https://api.github.com/repos/hadley/memoise/contents/{+path}","compare_url":"https://api.github.com/repos/hadley/memoise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hadley/memoise/merges","archive_url":"https://api.github.com/repos/hadley/memoise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hadley/memoise/downloads","issues_url":"https://api.github.com/repos/hadley/memoise/issues{/number}","pulls_url":"https://api.github.com/repos/hadley/memoise/pulls{/number}","milestones_url":"https://api.github.com/repos/hadley/memoise/milestones{/number}","notifications_url":"https://api.github.com/repos/hadley/memoise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hadley/memoise/labels{/name}","releases_url":"https://api.github.com/repos/hadley/memoise/releases{/id}","created_at":"2010-11-11T17:37:44Z","updated_at":"2015-09-30T13:39:29Z","pushed_at":"2015-09-25T23:11:11Z","git_url":"git://github.com/hadley/memoise.git","ssh_url":"git@github.com:hadley/memoise.git","clone_url":"https://github.com/hadley/memoise.git","svn_url":"https://github.com/hadley/memoise","homepage":"","size":316,"stargazers_count":27,"watchers_count":27,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hadley/memoise/pulls/15"},"html":{"href":"https://github.com/hadley/memoise/pull/15"},"issue":{"href":"https://api.github.com/repos/hadley/memoise/issues/15"},"comments":{"href":"https://api.github.com/repos/hadley/memoise/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/hadley/memoise/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/hadley/memoise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hadley/memoise/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/hadley/memoise/statuses/4bdba1c0c11922a6b7e0560cefd05174fe9cdb4d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":3,"changed_files":2}}