Skip to content
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

Error after pressing Knit #113

Closed
jtruffa opened this issue Jul 21, 2016 · 5 comments
Closed

Error after pressing Knit #113

jtruffa opened this issue Jul 21, 2016 · 5 comments

Comments

@jtruffa
Copy link

jtruffa commented Jul 21, 2016

Hi,

I´ve installed the dependencies, cloned the repo and presss Knit.

But this error message arose:

Error 5977

Error in parse(text = x) : <text>:4:25: unexpected symbol
3: person("Romain", "Francois", , "romain@r-enthusiasts.com", "aut"),
4: person("Kirill", "M"uller
^
Calls: <Anonymous> ... citation -> .read_authors_at_R_field -> eval -> parse
Ejecuci'on interrumpida

Any hints?

@csgillespie
Copy link
Owner

I can't reproduce. Would you:

  • Make sure you are using the latest version R & RStudio
  • Run update.packages

If that doesn't work. Send me the two generated .bib files.

@jtruffa
Copy link
Author

jtruffa commented Jul 22, 2016

I think you mean theses to files.

Thanks in advance!

bibfiles.zip

@csgillespie
Copy link
Owner

Could you try creating and building this simple Rmd document:

---
title: "Untitled"
author: "Colin Gillespie"
date: "22 July 2016"
output: html_document
bibliography: [refs.bib]
---

```{r setup, include=FALSE}
knitr::write_bib("tibble", file="refs.bib")

test

[@R-tibble]

@jtruffa
Copy link
Author

jtruffa commented Jul 22, 2016

I named it Test.Rmd
Press the knit HTML and gives me an error that I can´t cut and paste.

So I run from the console: > rmarkdown::render("test.Rmd")

And the output is:

processing file: test.Rmd
|................................ | 50%
ordinary text without R code

|.................................................................| 100%
label: setup (with options)
List of 1
$ include: logi FALSE

Quitting from lines 11-12 (test.Rmd)
Error in parse(text = x) : :4:25: unexpected symbol
3: person("Romain", "Francois", , "romain@r-enthusiasts.com", "aut"),
4: person("Kirill", "M"uller
^

@csgillespie
Copy link
Owner

@jtruffa I think this might be bug in write_bib. See yihui/knitr#1256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants