Comments (5)
Problem seems to fixed through your last commit. Loading the citr window, adding items (also from Zotero) etc., works fine now.
from citr.
After updating to version 0.3.1 I run into a similar error:
> citr:::insert_citation()
Error in tools::file_path_as_absolute(file.path(rmd_path, yaml::yaml.load(yaml_front_matter)$bibliography)) :
'x' must be a single character string
In my index.Rmd
I have multiple bibliography references:
bibliography: ["references.bib","../references.bib"]
Removing either leads to the same error as @bblodfon posted.
Seems to be a bug in the most recent version on both CRAN and GitHub. In particular with the most recent commit: de99c73#diff-4744dbfad92f5b61198585e92bc7af8d
Session Info:
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2 citr_0.3.1 compiler_3.6.0 pillar_1.4.2 later_0.8.0 tools_3.6.0 digest_0.6.20 packrat_0.5.0 evaluate_0.14 tibble_2.1.3 gtable_0.3.0 pkgconfig_2.0.2
[13] rlang_0.4.0 shiny_1.3.2 rstudioapi_0.10 curl_4.0 yaml_2.2.0 xfun_0.8 stringr_1.4.0 dplyr_0.8.3 knitr_1.24 tidyselect_0.2.5 grid_3.6.0 glue_1.3.1
[25] R6_2.4.0 rmarkdown_1.14 bookdown_0.12 purrr_0.3.2 ggplot2_3.2.1 magrittr_1.5 scales_1.0.0 promises_1.0.1 ggthemes_4.2.0 htmltools_0.3.6 assertthat_0.2.1 mime_0.7
[37] xtable_1.8-4 colorspace_1.4-1 httpuv_1.5.1 stringi_1.4.3 miniUI_0.1.1.1 lazyeval_0.2.2 munsell_0.5.0 crayon_1.3.4
from citr.
Hi, thanks for reporting this so promptly and sorry for the delayed response. I just pushed a fix for both problems. If it resolves the issue I'll resubmit to CRAN as soon as possible. Feedback would be most welcome.
from citr.
Everything ok from my side as well!
from citr.
Excellent, thank you! Will resubmit to CRAN tonight.
from citr.
Related Issues (20)
- Referencing from entire zotero library, rather then exported library-user problem HOT 5
- Citr Aborts session when accessing library HOT 9
- RStudio 1.4 to provide Zotero integration HOT 1
- citr crashes connecting to Zotero library HOT 11
- citr currently not available from CRAN HOT 13
- Error in callFun: argument "location" is missing HOT 4
- Allow for different types of citation key formats in tidy_bib_file() HOT 3
- Allow bibtype "Document" to be read by citr HOT 3
- Citr is not allowed to install in R ver. 4.0.2, Please update! HOT 2
- requires RStudio 0.99.796 or newer (your version is 1.3.1093) HOT 4
- later: interrupt occurred while executing callback. HOT 1
- Error loading Bibtex for second citation insert, citr crashes after inserting one citation
- Add ability for `tidy_bib_file()` to scan `_bookdown.yml` HOT 1
- Error when 2 citations have same author (without parenthesis)
- Error when using the addin: condition length > 1
- How do you implement server-side selectize? HOT 1
- Specific `knitr` and `citr` failure with out.width option
- Error in data.frame: arguments imply differing number of rows HOT 2
- Exporting bib file can successfully be useful and insert citation is ok, but once clicking "Connect and load libraries", it crashed. HOT 4
- The name list field author cannot be parsed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citr.