It's hard to know for sure, since you are not providing a REPRoducible EXample (reprex), but I suspect that your problem is with the YAML header for your .Rmd file instead of your code for the steamgraph.
Hi @andresrcs. Thank you very much for your reply. I appreciate it.
Yes, your code and flexdashboard would work. However, the YAML header is slightly different when working with blogdown.
In my example, this is my YAML header for my RMarkdown in my blogdown. I believe it doesn't populate the streamgraphs because the streamgraph package is an htmlwidget.
```
title: "Title"
author: Name
date: '2019-04-07'
slug: world-analysis
categories:
- R
tags:
- R Markdown
- streamgraph
```
From your error, I am guessing you are using .Rmarkdown as your post content type, rather than .Rmd. If so, try using the new post add-in and selecting .Rmd instead of .Rmarkdown.
Roughly:
.Rmarkdown post --rmarkdown--> md --blackfriday markdown processor + Hugo--> html
.Rmd --blogdown/bookdown/rmarkdown+pandoc --> html