-
-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knit2wp function does not pick up categories and publish options #512
Comments
Sorry I have no idea on why For |
Thanks, Yihui! For my purposes, having the publish argument added would be sufficient enough, as I can easily assign the category in Wordpress itself when it's ready to be published. |
Great. The |
Hi Yihui, Great work on knitr and related packages. I have found them indispensable. I know this query has been closed but I just wanted to let you know I have found a weird solution. Categories works if you set more than one category :) One category does nothing but adding an additional arbitrary category seems to make it work perfectly. |
@joedemby Thanks for sharing your solution! That sounds like a bug of the RWordPress package. Anyway, perhaps you have heard about it -- I spent a whole year last year working on a new package specifically for building websites with R Markdown: https://github.com/rstudio/blogdown |
No problem. Just found it by accident. Thanks for the referral of blowdown. I shall look at it right away. :) |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
I wanted to use the new
knit2wp
function to create a post in the drafts section of my Wordpress site at r-podcast.org which is a self-hosted blog. While the function successfully made a post, it automatically posted it instead of putting it in draft form and was uncategorized, see post here. The R markdown file was simply the RStudio R markdown default template (with modifications to put the images in my Dropbox according to Yihui's demo here and here's the code I used to compile:Contents of the file can be seen in this gist in case it helps to debug.
The text was updated successfully, but these errors were encountered: