Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Apr 17, 2015
1 parent ca261ea commit 504edc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/xml_parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ read_xml.raw <- function(x, encoding = "", base_url = "", ...,
read_xml.connection <- function(x, encoding = "", n = 64 * 1024,
verbose = FALSE, ..., base_url = "",
as_html = FALSE) {
if (!isOpen(x)){
if (!isOpen(x)) {
open(x, "rb")
on.exit(close(x))
}
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.onUnload <- function (libpath) {
.onUnload <- function(libpath) {
gc() # trigger finalisers
library.dynam.unload("xml2", libpath)
}
2 changes: 1 addition & 1 deletion tools/winlibs.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build against libxml2 from Rtools
if(!file.exists("../windows/libxml2-2.9.2/include/libxml/parser.h")){
if (!file.exists("../windows/libxml2-2.9.2/include/libxml/parser.h")) {
setInternet2()
download.file("https://github.com/rwinlib/libxml2/archive/v2.9.2.zip", "lib.zip", quiet = TRUE)
dir.create("../windows", showWarnings = FALSE)
Expand Down

0 comments on commit 504edc3

Please sign in to comment.