coding style:

This commit is contained in:
hyginn 2017-10-28 23:08:31 -04:00
parent 066be49970
commit 044990d1c9
4 changed files with 5 additions and 5 deletions

View File

@ -15,13 +15,13 @@ if (! require(jsonlite, quietly = TRUE)) {
}
if (!require(httr, quietly = TRUE)) {
if (! require(httr, quietly = TRUE)) {
install.packages("httr")
library(httr)
}
if (!require(xml2, quietly = TRUE)) {
if (! require(xml2, quietly = TRUE)) {
install.packages("xml2")
library(xml2)
}

View File

@ -70,7 +70,7 @@
# (https://gold.jgi.doe.gov/). Use the data that is hosted at the NCBI.
# == 2.1 Initialize ========================================================
if (!require(httr)) { # httr provides interfaces to Webservers on the Internet
if (! require(httr)) { # httr provides interfaces to Webservers on the Internet
install.packages("httr")
library(httr)
}

View File

@ -28,7 +28,7 @@
#
# ==============================================================================
if (!require(readr, quietly = TRUE)) {
if (! require(readr, quietly = TRUE)) {
install.packages("readr")
library(readr)
}

View File

@ -28,7 +28,7 @@
# ==============================================================================
if (!require(httr, quietly = TRUE)) {
if (! require(httr, quietly = TRUE)) {
install.packages("httr")
library(httr)
}