Closed pssguy closed 7 years ago
Please always include devtools::session_info('blogdown')
when reporting an issue.
@yihui Sorry about that. Here you go
devtools::session_info('blogdown') Session info ----------------------------------------------------------- setting value
version R version 3.3.2 (2016-10-31) system x86_64, mingw32
ui RStudio (1.0.136)
language (EN)
collate English_Canada.1252
tz America/Los_Angeles
date 2017-03-15
Packages ---------------------------------------------------------------
package * version date source
backports 1.0.5 2017-01-18 CRAN (R 3.3.1)
base64enc 0.1-3 2015-07-28 CRAN (R 3.3.0)
bitops 1.0-6 2013-08-17 CRAN (R 3.1.1)
blogdown 0.0.25 2017-03-15 Github (rstudio/blogdown@a894557)
bookdown 0.3.14 2017-03-15 Github (rstudio/bookdown@3025188)
caTools 1.17.1 2014-09-10 CRAN (R 3.1.1)
digest 0.6.12 2017-01-27 CRAN (R 3.3.1)
evaluate 0.10 2016-10-11 CRAN (R 3.3.1)
highr 0.6 2016-05-09 CRAN (R 3.2.4)
htmltools 0.3.5 2016-03-21 CRAN (R 3.3.0)
httpuv 1.3.3 2015-08-04 CRAN (R 3.3.0)
jsonlite 1.3 2017-02-28 CRAN (R 3.3.2)
knitr 1.15.1 2016-11-22 CRAN (R 3.3.2)
magrittr 1.5 2014-11-22 CRAN (R 3.3.0)
markdown 0.7.7 2015-04-22 CRAN (R 3.2.0)
mime 0.5 2016-07-07 CRAN (R 3.3.1)
Rcpp 0.12.9 2017-01-14 CRAN (R 3.3.2)
rmarkdown 1.3 2016-12-21 CRAN (R 3.3.2)
rprojroot 1.2 2017-01-16 CRAN (R 3.3.1)
servr 0.5 2016-12-10 CRAN (R 3.3.2)
stringi 1.1.2 2016-10-01 CRAN (R 3.3.1)
stringr 1.2.0 2017-02-18 CRAN (R 3.3.2)
yaml 2.1.14 2016-11-12 CRAN (R 3.3.1)
I cannot reproduce the issue. Could provide a reproducible example? Before you install blogdown, did you restart your R session? It is good practice to always restart your R session before you install packages.
Not sure how you do a reproducible example of pressing a button?
I create a new project then
What is your output of yaml::as.yaml
?
function (x, line.sep = c("\n", "\r\n", "\r"), indent = 2, omap = FALSE,
column.major = TRUE, unicode = TRUE, precision = getOption("digits"),
indent.mapping.sequence = FALSE)
{
line.sep <- match.arg(line.sep)
.Call("as.yaml", x, line.sep, indent, omap, column.major,
unicode, precision, indent.mapping.sequence, PACKAGE = "yaml")
}
<environment: namespace:yaml>
That is really weird. Could you restart your R session, install.packages('yaml')
and devtools::install_github('rstudio/blogdown')
?
That seems to have done trick. Can create and select categories in update_meta_addin() and create new posts. Entering new category within post means it is then available for selection in pop-up addin next time Is there anything I can send to you to help explain it?
My best guess is there was some trouble with installing yaml last time (libs/yaml.dll
might be locked). As I said in my second reply, you'd better restart your R session every time before you install any packages (especially on Windows).
I usually do but, must admit, not always. Having a reminder on RStudio IDE Install Packages popup would be helpful Thanks again
As per book
Trying to use addins gettng similar errors with both 'Update metadata' and 'New post'
e.g
On pressing done button
Nothing changes to file and the packages category does not appear when trying again blogdown v 0,0.25