Skip to content

Commit 23c9f41

Browse files
committed
Rm use of deprecated arg. of do_read_bib
1 parent 009d4a6 commit 23c9f41

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/ReadBib.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ ReadBib <- function(file, .Encoding = "UTF-8",
5050
sQuote("ReadBib"), sQuote("file"),
5151
"a character vector of length one"))
5252
}
53-
srcfile <- switch(.Encoding, unknown = srcfile(file),
54-
srcfile(file, encoding = .Encoding))
5553

56-
out <- bibtex::do_read_bib(file, encoding = .Encoding, srcfile)
54+
out <- bibtex::do_read_bib(file, encoding = .Encoding)
5755
at <- attributes(out)
5856
if (typeof(out) != "integer")
5957
out <- lapply(out, MakeBibEntry)

0 commit comments

Comments
 (0)