{"action":"opened","number":811,"pull_request":{"url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811","id":31644521,"html_url":"https://github.com/rdpeng/ProgrammingAssignment2/pull/811","diff_url":"https://github.com/rdpeng/ProgrammingAssignment2/pull/811.diff","patch_url":"https://github.com/rdpeng/ProgrammingAssignment2/pull/811.patch","issue_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/811","number":811,"state":"open","locked":false,"title":"ProgrammingAssignment2","user":{"login":"abharan","id":11430628,"avatar_url":"https://avatars.githubusercontent.com/u/11430628?v=3","gravatar_id":"","url":"https://api.github.com/users/abharan","html_url":"https://github.com/abharan","followers_url":"https://api.github.com/users/abharan/followers","following_url":"https://api.github.com/users/abharan/following{/other_user}","gists_url":"https://api.github.com/users/abharan/gists{/gist_id}","starred_url":"https://api.github.com/users/abharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abharan/subscriptions","organizations_url":"https://api.github.com/users/abharan/orgs","repos_url":"https://api.github.com/users/abharan/repos","events_url":"https://api.github.com/users/abharan/events{/privacy}","received_events_url":"https://api.github.com/users/abharan/received_events","type":"User","site_admin":false},"body":"makeCacheMatrix<-function(x=matrix()){\r\n  inval<-NULL  \r\n  \r\n  #setter method to set the matrix\r\n  set<- function(val){\r\n    matrix <<-val\r\n    inval<<-NULL\r\n  }\r\n  #getter method to get the matrix\r\n  get<-function(){\r\n    matrix\r\n  }\r\n  #setter method for setting the inverse of a matrix\r\n  setInverse <- function(inverse){\r\n    inval <<- inverse\r\n  }\r\n  #getter method for getting the inverse value of the matrix provided\r\n  getInverse<-function(){\r\n    inval\r\n  }\r\n  \r\n  #This method returns the list of methods contained the super function makeCacheMatrix\r\n  list(set=set, get=get, setInverse=setInverse, getInverse=getInverse       \r\n  )\r\n}\r\ncacheSolve<-function(x, ...){\r\n  #x is the matrix, and we are trying to get the inverse of that matrix\r\n  inval <- x$getInverse()\r\n  #checking if the inverse of the matrix exists\r\n  if(is.null(inval)){\r\n    message(\"getting cached data\")\r\n    return (inval)\r\n  }\r\n  data <- x$get()            \r\n  newInverse <- solve(data) %*% data  #calucating the inverse of the matrix\r\n  x$setInverse(newInverse)            #setting the newly calculated inverse value for futire usage\r\n  newInverse\r\n}","created_at":"2015-03-20T19:28:55Z","updated_at":"2015-03-20T19:28:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811/commits","review_comments_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811/comments","review_comment_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/811/comments","statuses_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/statuses/586f7dd0e8b85a8445834ebe40fa3b9a5f7dff58","head":{"label":"abharan:patch-3","ref":"patch-3","sha":"586f7dd0e8b85a8445834ebe40fa3b9a5f7dff58","user":{"login":"abharan","id":11430628,"avatar_url":"https://avatars.githubusercontent.com/u/11430628?v=3","gravatar_id":"","url":"https://api.github.com/users/abharan","html_url":"https://github.com/abharan","followers_url":"https://api.github.com/users/abharan/followers","following_url":"https://api.github.com/users/abharan/following{/other_user}","gists_url":"https://api.github.com/users/abharan/gists{/gist_id}","starred_url":"https://api.github.com/users/abharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abharan/subscriptions","organizations_url":"https://api.github.com/users/abharan/orgs","repos_url":"https://api.github.com/users/abharan/repos","events_url":"https://api.github.com/users/abharan/events{/privacy}","received_events_url":"https://api.github.com/users/abharan/received_events","type":"User","site_admin":false},"repo":{"id":32042364,"name":"ProgrammingAssignment2","full_name":"abharan/ProgrammingAssignment2","owner":{"login":"abharan","id":11430628,"avatar_url":"https://avatars.githubusercontent.com/u/11430628?v=3","gravatar_id":"","url":"https://api.github.com/users/abharan","html_url":"https://github.com/abharan","followers_url":"https://api.github.com/users/abharan/followers","following_url":"https://api.github.com/users/abharan/following{/other_user}","gists_url":"https://api.github.com/users/abharan/gists{/gist_id}","starred_url":"https://api.github.com/users/abharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abharan/subscriptions","organizations_url":"https://api.github.com/users/abharan/orgs","repos_url":"https://api.github.com/users/abharan/repos","events_url":"https://api.github.com/users/abharan/events{/privacy}","received_events_url":"https://api.github.com/users/abharan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abharan/ProgrammingAssignment2","description":"Repository for Programming Assignment 2 for R Programming on Coursera","fork":true,"url":"https://api.github.com/repos/abharan/ProgrammingAssignment2","forks_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/forks","keys_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/teams","hooks_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/hooks","issue_events_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/issues/events{/number}","events_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/events","assignees_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/assignees{/user}","branches_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/branches{/branch}","tags_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/tags","blobs_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/languages","stargazers_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/stargazers","contributors_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/contributors","subscribers_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/subscribers","subscription_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/subscription","commits_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/contents/{+path}","compare_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/merges","archive_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/downloads","issues_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/issues{/number}","pulls_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/labels{/name}","releases_url":"https://api.github.com/repos/abharan/ProgrammingAssignment2/releases{/id}","created_at":"2015-03-11T21:32:31Z","updated_at":"2015-03-11T21:32:34Z","pushed_at":"2015-03-20T19:28:11Z","git_url":"git://github.com/abharan/ProgrammingAssignment2.git","ssh_url":"git@github.com:abharan/ProgrammingAssignment2.git","clone_url":"https://github.com/abharan/ProgrammingAssignment2.git","svn_url":"https://github.com/abharan/ProgrammingAssignment2","homepage":null,"size":107,"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":"rdpeng:master","ref":"master","sha":"7f657dd22ac20d22698c53b23f0057e1a12c09b7","user":{"login":"rdpeng","id":9612,"avatar_url":"https://avatars.githubusercontent.com/u/9612?v=3","gravatar_id":"","url":"https://api.github.com/users/rdpeng","html_url":"https://github.com/rdpeng","followers_url":"https://api.github.com/users/rdpeng/followers","following_url":"https://api.github.com/users/rdpeng/following{/other_user}","gists_url":"https://api.github.com/users/rdpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/rdpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdpeng/subscriptions","organizations_url":"https://api.github.com/users/rdpeng/orgs","repos_url":"https://api.github.com/users/rdpeng/repos","events_url":"https://api.github.com/users/rdpeng/events{/privacy}","received_events_url":"https://api.github.com/users/rdpeng/received_events","type":"User","site_admin":false},"repo":{"id":15917132,"name":"ProgrammingAssignment2","full_name":"rdpeng/ProgrammingAssignment2","owner":{"login":"rdpeng","id":9612,"avatar_url":"https://avatars.githubusercontent.com/u/9612?v=3","gravatar_id":"","url":"https://api.github.com/users/rdpeng","html_url":"https://github.com/rdpeng","followers_url":"https://api.github.com/users/rdpeng/followers","following_url":"https://api.github.com/users/rdpeng/following{/other_user}","gists_url":"https://api.github.com/users/rdpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/rdpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdpeng/subscriptions","organizations_url":"https://api.github.com/users/rdpeng/orgs","repos_url":"https://api.github.com/users/rdpeng/repos","events_url":"https://api.github.com/users/rdpeng/events{/privacy}","received_events_url":"https://api.github.com/users/rdpeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdpeng/ProgrammingAssignment2","description":"Repository for Programming Assignment 2 for R Programming on Coursera","fork":false,"url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2","forks_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/forks","keys_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/teams","hooks_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/hooks","issue_events_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/events{/number}","events_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/events","assignees_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/assignees{/user}","branches_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/branches{/branch}","tags_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/tags","blobs_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/languages","stargazers_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/stargazers","contributors_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/contributors","subscribers_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/subscribers","subscription_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/subscription","commits_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/contents/{+path}","compare_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/merges","archive_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/downloads","issues_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues{/number}","pulls_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/labels{/name}","releases_url":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/releases{/id}","created_at":"2014-01-14T22:07:41Z","updated_at":"2015-03-19T23:46:09Z","pushed_at":"2015-03-20T18:47:21Z","git_url":"git://github.com/rdpeng/ProgrammingAssignment2.git","ssh_url":"git@github.com:rdpeng/ProgrammingAssignment2.git","clone_url":"https://github.com/rdpeng/ProgrammingAssignment2.git","svn_url":"https://github.com/rdpeng/ProgrammingAssignment2","homepage":null,"size":6471,"stargazers_count":93,"watchers_count":93,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48685,"mirror_url":null,"open_issues_count":597,"forks":48685,"open_issues":597,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811"},"html":{"href":"https://github.com/rdpeng/ProgrammingAssignment2/pull/811"},"issue":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/811"},"comments":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/issues/811/comments"},"review_comments":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811/comments"},"review_comment":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/pulls/811/commits"},"statuses":{"href":"https://api.github.com/repos/rdpeng/ProgrammingAssignment2/statuses/586f7dd0e8b85a8445834ebe40fa3b9a5f7dff58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":0,"changed_files":1}}