From 586848eeb67bbe3412b54fa4a3a94159774e0623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:44:55 +0200 Subject: [PATCH] fix: missing empty line before list (#156) * fix: missing empty line before list * ci: quarto automatic render skip-checks: true * chore: update freeze * ci: quarto automatic render skip-checks: true --------- Co-authored-by: mcanouil --- .../index/execute-results/html.json | 5 +- _freeze/site_libs/quarto-listing/list.min.js | 2 +- _site/blog.html | 26 +-- _site/index.html | 2 +- _site/listings.json | 26 +-- _site/posts/2020-05-06-ggpacman/index.html | 6 +- .../index.html | 6 +- .../index.html | 14 +- .../index.html | 6 +- .../posts/2023-05-07-quarto-docker/index.html | 6 +- .../2023-05-30-quarto-light-dark/index.html | 8 +- _site/projects.html | 52 ++--- _site/publications.html | 2 +- _site/search.json | 206 +++++++++--------- _site/site_libs/bootstrap/bootstrap.min.css | 2 +- _site/site_libs/quarto-listing/list.min.js | 2 +- _site/sitemap.xml | 72 +++--- _site/talks.html | 30 +-- _site/talks/2016-02-11-smpgd/index.html | 2 +- _site/talks/2017-09-29-phd/index.html | 2 +- _site/talks/2019-01-21-lund-sweden/index.html | 2 +- .../index.html | 2 +- .../2020-10-07-rlille-rstartup/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.qmd | 1 + 26 files changed, 247 insertions(+), 241 deletions(-) diff --git a/_freeze/posts/2023-03-05-quarto-auto-table-crossref/index/execute-results/html.json b/_freeze/posts/2023-03-05-quarto-auto-table-crossref/index/execute-results/html.json index fc647d9c..702061db 100644 --- a/_freeze/posts/2023-03-05-quarto-auto-table-crossref/index/execute-results/html.json +++ b/_freeze/posts/2023-03-05-quarto-auto-table-crossref/index/execute-results/html.json @@ -1,7 +1,8 @@ { - "hash": "3437133035a6f4b5448d9e3f5637dcd4", + "hash": "bffcc121667dfc8202f299335ae2900f", "result": { - "markdown": "---\ntitle: \"Quarto Q&A: How to have labels and captions for an unknown number of tables?\"\ndescription: |\n A small example of how to automatically have labels and captions for an unknown number of tables in Quarto, using `knitr` and R.\ndate: \"2023-03-05\"\ncategories: [Quarto, Q&A, R, knitr]\nimage: featured.png\nimage-alt: |\n Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.\n Tables are simply on top of each other after the item list.\n---\n\n\nI decided to start small blog posts with answers/solutions to questions I have seen and answered on [Twitter](https://twitter.com/), [Mastodon](https://joinmastodon.org/), and [Quarto](https://quarto.org/) GitHub [Issues](https://github.com/quarto-dev/quarto-cli/issues) & [Discussions](https://github.com/quarto-dev/quarto-cli/discussions).\n\n![](featured.png){fig-alt=\"Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables. Tables are simply on top of each other after the item list.\" fig-align=\"center\"}\n\n## The Question/Problem\n\n> Suppose, in a #QuartoPub document, using #rStats I have a list of length G, each item in this list is a flextable - I need to use flextable as opposed to kable, to allow for output to docx.\n> G is unknown apriori, but will be at least 1.\n>\n> Is there any way to create a sequence of tables with associated labels and captions that could be worked out dynamically/parsed? \n> Manually, this can be done really easily (creating new labels etc) and knowing when to stop, but is there a way of automating this?\n\n_Source: _\n\n## The Answer/Solution\n\nThe trick is, within a code cell with `output: asis`, to use `knitr::knit_child()` to create code cells with `label`, caption (`tbl-cap`), or whatever option you might want or need.\n\n\n::: {.cell .panel-tabset}\n\n## Quarto Input\n\n````md\n---\nformat: html\n---\n\n```{r}\n#| include: false\nfor (ipkg in c(\"palmerpenguins\", \"gt\", \"dplyr\")) {\n if (!require(ipkg, character.only = TRUE)) {\n install.packages(ipkg)\n library(ipkg, character.only = TRUE)\n }\n}\n```\n\nBelow are tables of the first six rows of the Palmer penguins dataset by species:\n\n```{r}\n#| echo: false\n#| output: asis\ncat(\n sprintf(\n \"- `%s` (@tbl-%s)\",\n levels(penguins[[\"species\"]]),\n levels(penguins[[\"species\"]])\n ),\n sep = \"\\n\"\n)\n\nfor (ispecies in levels(penguins[[\"species\"]])) {\n tab <- penguins |>\n filter(species %in% ispecies) |>\n select(-species) |>\n head() |>\n gt() |>\n tab_header(title = ispecies)\n cat(sep = \"\\n\", knitr::knit_child(quiet = TRUE, text = c(\n \"```{r}\",\n \"#| echo: false\",\n sprintf(\"#| tbl-cap: %s\", ispecies),\n sprintf(\"#| label: tbl-%s\", ispecies),\n \"tab\",\n \"```\"\n )))\n}\n```\n````\n\n\n\n## Quarto Output\n\n![](featured.png){fig-alt='Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.\nTables are simply on top of each other after the item list.'}\n:::\n\n\n## References\n\nReferences:\n- \n- \n- \n\n## Examples\n\n- \n", + "engine": "knitr", + "markdown": "---\ntitle: \"Quarto Q&A: How to have labels and captions for an unknown number of tables?\"\ndescription: |\n A small example of how to automatically have labels and captions for an unknown number of tables in Quarto, using `knitr` and R.\ndate: \"2023-03-05\"\ncategories: [Quarto, Q&A, R, knitr]\nimage: featured.png\nimage-alt: |\n Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.\n Tables are simply on top of each other after the item list.\n---\n\n\n\nI decided to start small blog posts with answers/solutions to questions I have seen and answered on [Twitter](https://twitter.com/), [Mastodon](https://joinmastodon.org/), and [Quarto](https://quarto.org/) GitHub [Issues](https://github.com/quarto-dev/quarto-cli/issues) & [Discussions](https://github.com/quarto-dev/quarto-cli/discussions).\n\n![](featured.png){fig-alt=\"Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables. Tables are simply on top of each other after the item list.\" fig-align=\"center\"}\n\n## The Question/Problem\n\n> Suppose, in a #QuartoPub document, using #rStats I have a list of length G, each item in this list is a flextable - I need to use flextable as opposed to kable, to allow for output to docx.\n> G is unknown apriori, but will be at least 1.\n>\n> Is there any way to create a sequence of tables with associated labels and captions that could be worked out dynamically/parsed? \n> Manually, this can be done really easily (creating new labels etc) and knowing when to stop, but is there a way of automating this?\n\n_Source: _\n\n## The Answer/Solution\n\nThe trick is, within a code cell with `output: asis`, to use `knitr::knit_child()` to create code cells with `label`, caption (`tbl-cap`), or whatever option you might want or need.\n\n\n\n::: {.cell .panel-tabset}\n\n## Quarto Input\n\n````md\n---\nformat: html\n---\n\n```{r}\n#| include: false\nfor (ipkg in c(\"palmerpenguins\", \"gt\", \"dplyr\")) {\n if (!require(ipkg, character.only = TRUE)) {\n install.packages(ipkg)\n library(ipkg, character.only = TRUE)\n }\n}\n```\n\nBelow are tables of the first six rows of the Palmer penguins dataset by species:\n\n```{r}\n#| echo: false\n#| output: asis\ncat(\n sprintf(\n \"- `%s` (@tbl-%s)\",\n levels(penguins[[\"species\"]]),\n levels(penguins[[\"species\"]])\n ),\n sep = \"\\n\"\n)\n\nfor (ispecies in levels(penguins[[\"species\"]])) {\n tab <- penguins |>\n filter(species %in% ispecies) |>\n select(-species) |>\n head() |>\n gt() |>\n tab_header(title = ispecies)\n cat(sep = \"\\n\", knitr::knit_child(quiet = TRUE, text = c(\n \"```{r}\",\n \"#| echo: false\",\n sprintf(\"#| tbl-cap: %s\", ispecies),\n sprintf(\"#| label: tbl-%s\", ispecies),\n \"tab\",\n \"```\"\n )))\n}\n```\n````\n\n\n\n## Quarto Output\n\n![](featured.png){fig-alt='Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.\nTables are simply on top of each other after the item list.'}\n:::\n\n\n\n## References\n\nReferences:\n\n- \n- \n- \n\n## Examples\n\n- \n", "supporting": [], "filters": [ "rmarkdown/pagebreak.lua" diff --git a/_freeze/site_libs/quarto-listing/list.min.js b/_freeze/site_libs/quarto-listing/list.min.js index 81318815..511346fc 100644 --- a/_freeze/site_libs/quarto-listing/list.min.js +++ b/_freeze/site_libs/quarto-listing/list.min.js @@ -1,2 +1,2 @@ -var List;List=function(){var t={"./src/add-async.js":function(t){t.exports=function(t){return function e(r,n,s){var i=r.splice(0,50);s=(s=s||[]).concat(t.add(i)),r.length>0?setTimeout((function(){e(r,n,s)}),1):(t.update(),n(s))}}},"./src/filter.js":function(t){t.exports=function(t){return t.handlers.filterStart=t.handlers.filterStart||[],t.handlers.filterComplete=t.handlers.filterComplete||[],function(e){if(t.trigger("filterStart"),t.i=1,t.reset.filter(),void 0===e)t.filtered=!1;else{t.filtered=!0;for(var r=t.items,n=0,s=r.length;nv.page,a=new g(t[s],void 0,n),v.items.push(a),r.push(a)}return v.update(),r}m(t.slice(0),e)}},this.show=function(t,e){return this.i=t,this.page=e,v.update(),v},this.remove=function(t,e,r){for(var n=0,s=0,i=v.items.length;s-1&&r.splice(n,1),v},this.trigger=function(t){for(var e=v.handlers[t].length;e--;)v.handlers[t][e](v);return v},this.reset={filter:function(){for(var t=v.items,e=t.length;e--;)t[e].filtered=!1;return v},search:function(){for(var t=v.items,e=t.length;e--;)t[e].found=!1;return v}},this.update=function(){var t=v.items,e=t.length;v.visibleItems=[],v.matchingItems=[],v.templater.clear();for(var r=0;r=v.i&&v.visibleItems.lengthe},innerWindow:function(t,e,r){return t>=e-r&&t<=e+r},dotted:function(t,e,r,n,s,i,a){return this.dottedLeft(t,e,r,n,s,i)||this.dottedRight(t,e,r,n,s,i,a)},dottedLeft:function(t,e,r,n,s,i){return e==r+1&&!this.innerWindow(e,s,i)&&!this.right(e,n)},dottedRight:function(t,e,r,n,s,i,a){return!t.items[a-1].values().dotted&&(e==n&&!this.innerWindow(e,s,i)&&!this.right(e,n))}};return function(e){var n=new i(t.listContainer.id,{listClass:e.paginationClass||"pagination",item:e.item||"
  • ",valueNames:["page","dotted"],searchClass:"pagination-search-that-is-not-supposed-to-exist",sortClass:"pagination-sort-that-is-not-supposed-to-exist"});s.bind(n.listContainer,"click",(function(e){var r=e.target||e.srcElement,n=t.utils.getAttribute(r,"data-page"),s=t.utils.getAttribute(r,"data-i");s&&t.show((s-1)*n+1,n)})),t.on("updated",(function(){r(n,e)})),r(n,e)}}},"./src/parse.js":function(t,e,r){t.exports=function(t){var e=r("./src/item.js")(t),n=function(r,n){for(var s=0,i=r.length;s0?setTimeout((function(){e(r,s)}),1):(t.update(),t.trigger("parseComplete"))};return t.handlers.parseComplete=t.handlers.parseComplete||[],function(){var e=function(t){for(var e=t.childNodes,r=[],n=0,s=e.length;n]/g.exec(t)){var e=document.createElement("tbody");return e.innerHTML=t,e.firstElementChild}if(-1!==t.indexOf("<")){var r=document.createElement("div");return r.innerHTML=t,r.firstElementChild}}},a=function(e,r,n){var s=void 0,i=function(e){for(var r=0,n=t.valueNames.length;r=1;)t.list.removeChild(t.list.firstChild)},function(){var r;if("function"!=typeof t.item){if(!(r="string"==typeof t.item?-1===t.item.indexOf("<")?document.getElementById(t.item):i(t.item):s()))throw new Error("The list needs to have at least one item on init otherwise you'll have to add a template.");r=n(r,t.valueNames),e=function(){return r.cloneNode(!0)}}else e=function(e){var r=t.item(e);return i(r)}}()};t.exports=function(t){return new e(t)}},"./src/utils/classes.js":function(t,e,r){var n=r("./src/utils/index-of.js"),s=/\s+/;Object.prototype.toString;function i(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}t.exports=function(t){return new i(t)},i.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~n(e,t)||e.push(t),this.el.className=e.join(" "),this},i.prototype.remove=function(t){if(this.list)return this.list.remove(t),this;var e=this.array(),r=n(e,t);return~r&&e.splice(r,1),this.el.className=e.join(" "),this},i.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},i.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(s);return""===t[0]&&t.shift(),t},i.prototype.has=i.prototype.contains=function(t){return this.list?this.list.contains(t):!!~n(this.array(),t)}},"./src/utils/events.js":function(t,e,r){var n=window.addEventListener?"addEventListener":"attachEvent",s=window.removeEventListener?"removeEventListener":"detachEvent",i="addEventListener"!==n?"on":"",a=r("./src/utils/to-array.js");e.bind=function(t,e,r,s){for(var o=0,l=(t=a(t)).length;o32)return!1;var a=n,o=function(){var t,r={};for(t=0;t=p;b--){var j=o[t.charAt(b-1)];if(C[b]=0===m?(C[b+1]<<1|1)&j:(C[b+1]<<1|1)&j|(v[b+1]|v[b])<<1|1|v[b+1],C[b]&d){var x=l(m,b-1);if(x<=u){if(u=x,!((c=b-1)>a))break;p=Math.max(1,2*a-c)}}}if(l(m+1,a)>u)break;v=C}return!(c<0)}},"./src/utils/get-attribute.js":function(t){t.exports=function(t,e){var r=t.getAttribute&&t.getAttribute(e)||null;if(!r)for(var n=t.attributes,s=n.length,i=0;i=48&&t<=57}function i(t,e){for(var i=(t+="").length,a=(e+="").length,o=0,l=0;o=i&&l=a?-1:l>=a&&o=i?1:i-a}i.caseInsensitive=i.i=function(t,e){return i((""+t).toLowerCase(),(""+e).toLowerCase())},Object.defineProperties(i,{alphabet:{get:function(){return e},set:function(t){r=[];var s=0;if(e=t)for(;s0?setTimeout((function(){e(r,n,s)}),1):(t.update(),n(s))}}},"./src/filter.js":function(t){t.exports=function(t){return t.handlers.filterStart=t.handlers.filterStart||[],t.handlers.filterComplete=t.handlers.filterComplete||[],function(e){if(t.trigger("filterStart"),t.i=1,t.reset.filter(),void 0===e)t.filtered=!1;else{t.filtered=!0;for(var r=t.items,n=0,s=r.length;nv.page,a=new g(t[s],void 0,n),v.items.push(a),r.push(a)}return v.update(),r}m(t.slice(0),e)}},this.show=function(t,e){return this.i=t,this.page=e,v.update(),v},this.remove=function(t,e,r){for(var n=0,s=0,i=v.items.length;s-1&&r.splice(n,1),v},this.trigger=function(t){for(var e=v.handlers[t].length;e--;)v.handlers[t][e](v);return v},this.reset={filter:function(){for(var t=v.items,e=t.length;e--;)t[e].filtered=!1;return v},search:function(){for(var t=v.items,e=t.length;e--;)t[e].found=!1;return v}},this.update=function(){var t=v.items,e=t.length;v.visibleItems=[],v.matchingItems=[],v.templater.clear();for(var r=0;r=v.i&&v.visibleItems.lengthe},innerWindow:function(t,e,r){return t>=e-r&&t<=e+r},dotted:function(t,e,r,n,s,i,a){return this.dottedLeft(t,e,r,n,s,i)||this.dottedRight(t,e,r,n,s,i,a)},dottedLeft:function(t,e,r,n,s,i){return e==r+1&&!this.innerWindow(e,s,i)&&!this.right(e,n)},dottedRight:function(t,e,r,n,s,i,a){return!t.items[a-1].values().dotted&&(e==n&&!this.innerWindow(e,s,i)&&!this.right(e,n))}};return function(e){var n=new i(t.listContainer.id,{listClass:e.paginationClass||"pagination",item:e.item||"
  • ",valueNames:["page","dotted"],searchClass:"pagination-search-that-is-not-supposed-to-exist",sortClass:"pagination-sort-that-is-not-supposed-to-exist"});s.bind(n.listContainer,"click",(function(e){var r=e.target||e.srcElement,n=t.utils.getAttribute(r,"data-page"),s=t.utils.getAttribute(r,"data-i");s&&t.show((s-1)*n+1,n)})),t.on("updated",(function(){r(n,e)})),r(n,e)}}},"./src/parse.js":function(t,e,r){t.exports=function(t){var e=r("./src/item.js")(t),n=function(r,n){for(var s=0,i=r.length;s0?setTimeout((function(){e(r,s)}),1):(t.update(),t.trigger("parseComplete"))};return t.handlers.parseComplete=t.handlers.parseComplete||[],function(){var e=function(t){for(var e=t.childNodes,r=[],n=0,s=e.length;n]/g.exec(t)){var e=document.createElement("tbody");return e.innerHTML=t,e.firstElementChild}if(-1!==t.indexOf("<")){var r=document.createElement("div");return r.innerHTML=t,r.firstElementChild}}},a=function(e,r,n){var s=void 0,i=function(e){for(var r=0,n=t.valueNames.length;r=1;)t.list.removeChild(t.list.firstChild)},function(){var r;if("function"!=typeof t.item){if(!(r="string"==typeof t.item?-1===t.item.indexOf("<")?document.getElementById(t.item):i(t.item):s()))throw new Error("The list needs to have at least one item on init otherwise you'll have to add a template.");r=n(r,t.valueNames),e=function(){return r.cloneNode(!0)}}else e=function(e){var r=t.item(e);return i(r)}}()};t.exports=function(t){return new e(t)}},"./src/utils/classes.js":function(t,e,r){var n=r("./src/utils/index-of.js"),s=/\s+/;Object.prototype.toString;function i(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}t.exports=function(t){return new i(t)},i.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~n(e,t)||e.push(t),this.el.className=e.join(" "),this},i.prototype.remove=function(t){if(this.list)return this.list.remove(t),this;var e=this.array(),r=n(e,t);return~r&&e.splice(r,1),this.el.className=e.join(" "),this},i.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},i.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(s);return""===t[0]&&t.shift(),t},i.prototype.has=i.prototype.contains=function(t){return this.list?this.list.contains(t):!!~n(this.array(),t)}},"./src/utils/events.js":function(t,e,r){var n=window.addEventListener?"addEventListener":"attachEvent",s=window.removeEventListener?"removeEventListener":"detachEvent",i="addEventListener"!==n?"on":"",a=r("./src/utils/to-array.js");e.bind=function(t,e,r,s){for(var o=0,l=(t=a(t)).length;o32)return!1;var a=n,o=function(){var t,r={};for(t=0;t=p;b--){var j=o[t.charAt(b-1)];if(C[b]=0===m?(C[b+1]<<1|1)&j:(C[b+1]<<1|1)&j|(v[b+1]|v[b])<<1|1|v[b+1],C[b]&d){var x=l(m,b-1);if(x<=u){if(u=x,!((c=b-1)>a))break;p=Math.max(1,2*a-c)}}}if(l(m+1,a)>u)break;v=C}return!(c<0)}},"./src/utils/get-attribute.js":function(t){t.exports=function(t,e){var r=t.getAttribute&&t.getAttribute(e)||null;if(!r)for(var n=t.attributes,s=n.length,i=0;i=48&&t<=57}function i(t,e){for(var i=(t+="").length,a=(e+="").length,o=0,l=0;o=i&&l=a?-1:l>=a&&o=i?1:i-a}i.caseInsensitive=i.i=function(t,e){return i((""+t).toLowerCase(),(""+e).toLowerCase())},Object.defineProperties(i,{alphabet:{get:function(){return e},set:function(t){r=[];var s=0;if(e=t)for(;s - + @@ -245,10 +245,10 @@
    Categories
    -
    +
    @@ -294,10 +294,10 @@

    -
    +
    @@ -334,10 +334,10 @@

    -
    +
    @@ -377,10 +377,10 @@

    -
    +

    -

    Screenshot of an html rendered by Quarto. it starts with a sentence saying below are several tables by species of penguins, followed by an item list showing the species and their respective cross-reference to the tables.
+<p><img loading=

    @@ -421,10 +421,10 @@

    -
    +
    @@ -467,10 +467,10 @@

    -
    +
    diff --git a/_site/index.html b/_site/index.html index a97ed732..c567c5b4 100644 --- a/_site/index.html +++ b/_site/index.html @@ -2,7 +2,7 @@ - + diff --git a/_site/listings.json b/_site/listings.json index 92be52cb..09191fc7 100644 --- a/_site/listings.json +++ b/_site/listings.json @@ -1,15 +1,4 @@ [ - { - "listing": "/blog.html", - "items": [ - "/posts/2023-05-30-quarto-light-dark/index.html", - "/posts/2023-05-07-quarto-docker/index.html", - "/posts/2023-03-12-quarto-mathjax-packages/index.html", - "/posts/2023-03-05-quarto-auto-table-crossref/index.html", - "/posts/2021-05-06-floating-toc-in-blogdown/index.html", - "/posts/2020-05-06-ggpacman/index.html" - ] - }, { "listing": "/talks.html", "items": [ @@ -23,11 +12,22 @@ ] }, { - "listing": "/publications.html", + "listing": "/projects.html", "items": [] }, { - "listing": "/projects.html", + "listing": "/publications.html", "items": [] + }, + { + "listing": "/blog.html", + "items": [ + "/posts/2023-05-30-quarto-light-dark/index.html", + "/posts/2023-05-07-quarto-docker/index.html", + "/posts/2023-03-12-quarto-mathjax-packages/index.html", + "/posts/2023-03-05-quarto-auto-table-crossref/index.html", + "/posts/2021-05-06-floating-toc-in-blogdown/index.html", + "/posts/2020-05-06-ggpacman/index.html" + ] } ] \ No newline at end of file diff --git a/_site/posts/2020-05-06-ggpacman/index.html b/_site/posts/2020-05-06-ggpacman/index.html index 931abb9e..70207c14 100644 --- a/_site/posts/2020-05-06-ggpacman/index.html +++ b/_site/posts/2020-05-06-ggpacman/index.html @@ -2,7 +2,7 @@ - + @@ -32,7 +32,7 @@ } @media print { pre > code.sourceCode { white-space: pre-wrap; } -pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } +pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } @@ -2043,7 +2043,7 @@

    A ggplot2 and gganimate Version of P "$1$2" ); }); - - -