Skip to content

Commit 692a420

Browse files
committed
Import bibtex again since it's back on CRAN
1 parent 4512c88 commit 692a420

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: RefManageR
2-
Version: 1.3.5
2+
Version: 1.4.0
33
Title: Straightforward 'BibTeX' and 'BibLaTeX' Bibliography Management
44
Authors@R: person(c("Mathew", "W."), "McLean", role = c("aut", "cre"),
55
email = "[email protected]",
@@ -27,12 +27,12 @@ Imports:
2727
httr,
2828
lubridate (>= 1.5.0),
2929
stringr,
30-
methods
30+
methods,
31+
bibtex (>= 0.4.1)
3132
Suggests:
3233
knitr,
3334
markdown,
34-
testthat,
35-
bibtex (>= 0.4.1)
35+
testthat
3636
Encoding: UTF-8
3737
Depends:
3838
R (>= 3.0)

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export(as.BibEntry)
4949
export(fields)
5050
export(is.BibEntry)
5151
export(toBiblatex)
52+
importFrom(bibtex,do_read_bib)
5253
importFrom(httr,GET)
5354
importFrom(httr,POST)
5455
importFrom(httr,add_headers)

R/ReadBib.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#' \dQuote{error} means the entry will not be added. See \code{\link{BibOptions}}.
1414
#' @author McLean, M. W., based on code in \code{bibtex} package by Francois, R.
1515
#' @importFrom stringr str_trim
16+
#' @importFrom bibtex do_read_bib
1617
#' @note Date fields are parsed using the locale specified by
1718
#' \code{Sys.getlocale("LC_TIME")}. To read a bib file with character \sQuote{month}
1819
#' fields in a language other than the current locale, \code{Sys.setlocale} should be
@@ -36,7 +37,7 @@ ReadBib <- function(file, .Encoding = "UTF-8",
3637
dQuote("bibtex"), " package installed.\nPlease install from ",
3738
"GitHub using the ", dQuote("remotes"),
3839
" (or ", dQuote("devtools"), ") package:\n\n",
39-
"remotes::install_github(\"ROpenSci/bibtex\")")
40+
"remotes::install_github(\"ropensci/bibtex\")")
4041
return(invisible())
4142
}
4243

0 commit comments

Comments
 (0)