{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66","id":33628624,"html_url":"https://github.com/swcarpentry/r-novice-inflammation/pull/66","diff_url":"https://github.com/swcarpentry/r-novice-inflammation/pull/66.diff","patch_url":"https://github.com/swcarpentry/r-novice-inflammation/pull/66.patch","issue_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/66","number":66,"state":"open","locked":false,"title":"add > for chunks within challenges","user":{"login":"fmichonneau","id":5502922,"avatar_url":"https://avatars.githubusercontent.com/u/5502922?v=3","gravatar_id":"","url":"https://api.github.com/users/fmichonneau","html_url":"https://github.com/fmichonneau","followers_url":"https://api.github.com/users/fmichonneau/followers","following_url":"https://api.github.com/users/fmichonneau/following{/other_user}","gists_url":"https://api.github.com/users/fmichonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/fmichonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmichonneau/subscriptions","organizations_url":"https://api.github.com/users/fmichonneau/orgs","repos_url":"https://api.github.com/users/fmichonneau/repos","events_url":"https://api.github.com/users/fmichonneau/events{/privacy}","received_events_url":"https://api.github.com/users/fmichonneau/received_events","type":"User","site_admin":false},"body":"This is an initial draft, and I'd like some feedback before fixing all the blockquote elements in the lesson (cf. swcarpentry/lesson-template#211).\r\n\r\n@r-gaia-cs submitted a feature request to knitr to allow chunks within blockquotes and @yihui implemented it promptly! :rainbow:  This is going to help us greatly and make our lessons prettier :sunrise: \r\n\r\nThe only downside is that we can't include chunks that don't produce any visible output (i.e., `include=FALSE`) as they produce a blank line in the markdown that `blockquote2div` interprets as being the end of the challenge box.\r\n\r\nHere I'm proposing to move these chunks before the challenge. Does anybody have a better suggestion?\r\n\r\nPS: If you want to try this, you'll need the latest knitr from GitHub (1.9.23 or at least after https://github.com/yihui/knitr/commit/3f52d476c5dca3eae657cc1ec6174bd3216b510d)\r\n\r\nPreview (with the older knitr verison)\r\n\r\n![screenshot1](https://cloud.githubusercontent.com/assets/5502922/7221931/1292f9a6-e6cf-11e4-97d1-2d9b21803258.png)\r\n\r\nPreview (with the latest knitr version and the content of this PR)\r\n\r\n![screenshot3](https://cloud.githubusercontent.com/assets/5502922/7221934/2223b3c4-e6cf-11e4-91a0-ac38c2ee78ba.png)\r\n","created_at":"2015-04-20T00:03:56Z","updated_at":"2015-04-20T00:03:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cf54957d7e851c02538e83c50aece526e095013","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66/commits","review_comments_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66/comments","review_comment_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/66/comments","statuses_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/statuses/1d2a431743ddd217ef7f7b85986db7ebbbd73a6a","head":{"label":"fmichonneau:fix-blockquote","ref":"fix-blockquote","sha":"1d2a431743ddd217ef7f7b85986db7ebbbd73a6a","user":{"login":"fmichonneau","id":5502922,"avatar_url":"https://avatars.githubusercontent.com/u/5502922?v=3","gravatar_id":"","url":"https://api.github.com/users/fmichonneau","html_url":"https://github.com/fmichonneau","followers_url":"https://api.github.com/users/fmichonneau/followers","following_url":"https://api.github.com/users/fmichonneau/following{/other_user}","gists_url":"https://api.github.com/users/fmichonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/fmichonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmichonneau/subscriptions","organizations_url":"https://api.github.com/users/fmichonneau/orgs","repos_url":"https://api.github.com/users/fmichonneau/repos","events_url":"https://api.github.com/users/fmichonneau/events{/privacy}","received_events_url":"https://api.github.com/users/fmichonneau/received_events","type":"User","site_admin":false},"repo":{"id":29892119,"name":"r-novice-inflammation","full_name":"fmichonneau/r-novice-inflammation","owner":{"login":"fmichonneau","id":5502922,"avatar_url":"https://avatars.githubusercontent.com/u/5502922?v=3","gravatar_id":"","url":"https://api.github.com/users/fmichonneau","html_url":"https://github.com/fmichonneau","followers_url":"https://api.github.com/users/fmichonneau/followers","following_url":"https://api.github.com/users/fmichonneau/following{/other_user}","gists_url":"https://api.github.com/users/fmichonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/fmichonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmichonneau/subscriptions","organizations_url":"https://api.github.com/users/fmichonneau/orgs","repos_url":"https://api.github.com/users/fmichonneau/repos","events_url":"https://api.github.com/users/fmichonneau/events{/privacy}","received_events_url":"https://api.github.com/users/fmichonneau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmichonneau/r-novice-inflammation","description":"Software Carpentry introduction to R for novices using inflammation data.","fork":true,"url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation","forks_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/forks","keys_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/teams","hooks_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/hooks","issue_events_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/issues/events{/number}","events_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/events","assignees_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/assignees{/user}","branches_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/branches{/branch}","tags_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/tags","blobs_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/statuses/{sha}","languages_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/languages","stargazers_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/stargazers","contributors_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/contributors","subscribers_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/subscribers","subscription_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/subscription","commits_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/contents/{+path}","compare_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/merges","archive_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/downloads","issues_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/issues{/number}","pulls_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/pulls{/number}","milestones_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/milestones{/number}","notifications_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/labels{/name}","releases_url":"https://api.github.com/repos/fmichonneau/r-novice-inflammation/releases{/id}","created_at":"2015-01-27T01:52:58Z","updated_at":"2015-03-24T21:22:29Z","pushed_at":"2015-04-19T23:51:43Z","git_url":"git://github.com/fmichonneau/r-novice-inflammation.git","ssh_url":"git@github.com:fmichonneau/r-novice-inflammation.git","clone_url":"https://github.com/fmichonneau/r-novice-inflammation.git","svn_url":"https://github.com/fmichonneau/r-novice-inflammation","homepage":"http://swcarpentry.github.io/r-novice-inflammation/","size":5892,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"swcarpentry:gh-pages","ref":"gh-pages","sha":"85a516f42d4d4b63a682e2fa46e6c88ab854fa9d","user":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"repo":{"id":28178903,"name":"r-novice-inflammation","full_name":"swcarpentry/r-novice-inflammation","owner":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swcarpentry/r-novice-inflammation","description":"Software Carpentry introduction to R for novices using inflammation data.","fork":false,"url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation","forks_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/forks","keys_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/teams","hooks_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/hooks","issue_events_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/events{/number}","events_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/events","assignees_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/assignees{/user}","branches_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/branches{/branch}","tags_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/tags","blobs_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/git/refs{/sha}","trees_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/statuses/{sha}","languages_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/languages","stargazers_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/stargazers","contributors_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/contributors","subscribers_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/subscribers","subscription_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/subscription","commits_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/commits{/sha}","git_commits_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/git/commits{/sha}","comments_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/comments{/number}","issue_comment_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/comments{/number}","contents_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/contents/{+path}","compare_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/merges","archive_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/downloads","issues_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues{/number}","pulls_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls{/number}","milestones_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/milestones{/number}","notifications_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/labels{/name}","releases_url":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/releases{/id}","created_at":"2014-12-18T10:26:01Z","updated_at":"2015-04-19T19:38:11Z","pushed_at":"2015-04-20T00:03:56Z","git_url":"git://github.com/swcarpentry/r-novice-inflammation.git","ssh_url":"git@github.com:swcarpentry/r-novice-inflammation.git","clone_url":"https://github.com/swcarpentry/r-novice-inflammation.git","svn_url":"https://github.com/swcarpentry/r-novice-inflammation","homepage":"http://swcarpentry.github.io/r-novice-inflammation/","size":6569,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":8,"forks":29,"open_issues":8,"watchers":8,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66"},"html":{"href":"https://github.com/swcarpentry/r-novice-inflammation/pull/66"},"issue":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/66"},"comments":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/swcarpentry/r-novice-inflammation/statuses/1d2a431743ddd217ef7f7b85986db7ebbbd73a6a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":56,"deletions":56,"changed_files":1}}