Open jcolomb opened 7 years ago
Can you paste in sessionInfo()
you have when error occurs?
just reinstall everything fresh on a different computer, got same error.
session_info() Session info ------------------------------------------------ setting value
version R version 3.4.1 (2017-06-30) system x86_64, mingw32
ui RStudio (1.0.143)
language (EN)
collate English_United Kingdom.1252 tz Europe/Berlin
date 2017-07-17Packages ---------------------------------------------------- package version date source
backports 1.1.0 2017-05-22 CRAN (R 3.4.0) base 3.4.1 2017-06-30 local
compiler 3.4.1 2017-06-30 local
curl 2.7 2017-06-26 CRAN (R 3.4.1) datasets 3.4.1 2017-06-30 local
devtools 1.13.2 2017-06-02 CRAN (R 3.4.1) digest 0.6.12 2017-01-27 CRAN (R 3.4.1) evaluate 0.10.1 2017-06-24 CRAN (R 3.4.1) git2r 0.18.0 2017-01-01 CRAN (R 3.4.1) graphics 3.4.1 2017-06-30 local
grDevices 3.4.1 2017-06-30 local
htmltools 0.3.6 2017-04-28 CRAN (R 3.4.1) httr 1.2.1 2016-07-03 CRAN (R 3.4.1) knitr 1.16 2017-05-18 CRAN (R 3.4.1) magrittr 1.5 2014-11-22 CRAN (R 3.4.1) memoise 1.1.0 2017-04-21 CRAN (R 3.4.1) methods 3.4.1 2017-06-30 local
R6 2.2.2 2017-06-17 CRAN (R 3.4.1) Rcpp 0.12.12 2017-07-15 CRAN (R 3.4.1) rmarkdown 1.6 2017-06-15 CRAN (R 3.4.1) rprojroot 1.2 2017-01-16 CRAN (R 3.4.1) stats 3.4.1 2017-06-30 local
stringi 1.1.5 2017-04-07 CRAN (R 3.4.0) stringr 1.2.0 2017-02-18 CRAN (R 3.4.1) tools 3.4.1 2017-06-30 local
utils * 3.4.1 2017-06-30 local
withr 1.0.2 2016-06-20 CRAN (R 3.4.1) yaml 2.1.14 2016-11-12 CRAN (R 3.4.1)
library (knitcitations)
citep("10.1002/9780470316801") bibliography()
hoho, giving a style to write into, does make the trick. you plobably just want to had a default style to bibliography() to avoid the error...
bibliography(style ="text")
> [1] L. Kaufman and P. J. Rousseeuw, ed. _Finding
Groups in Data_. John Wiley & Sons, Inc., Mar. 1990.
DOI: 10.1002/9780470316801. <URL:
https://doi.org/10.1002/9780470316801>.
thanks, fix pushed.
knitcitations seems to be broken by me (used to work before). citep("doi") works, but then bibliography() returns the error mentioned above.
if I use write.bibtex, it does write the bib file correctly.
citing R packages works, btw. I am the only one with the problem?