coding style:
This commit is contained in:
parent
066be49970
commit
044990d1c9
@ -15,13 +15,13 @@ if (! require(jsonlite, quietly = TRUE)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!require(httr, quietly = TRUE)) {
|
if (! require(httr, quietly = TRUE)) {
|
||||||
install.packages("httr")
|
install.packages("httr")
|
||||||
library(httr)
|
library(httr)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!require(xml2, quietly = TRUE)) {
|
if (! require(xml2, quietly = TRUE)) {
|
||||||
install.packages("xml2")
|
install.packages("xml2")
|
||||||
library(xml2)
|
library(xml2)
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
# (https://gold.jgi.doe.gov/). Use the data that is hosted at the NCBI.
|
# (https://gold.jgi.doe.gov/). Use the data that is hosted at the NCBI.
|
||||||
|
|
||||||
# == 2.1 Initialize ========================================================
|
# == 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")
|
install.packages("httr")
|
||||||
library(httr)
|
library(httr)
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#
|
#
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
if (!require(readr, quietly = TRUE)) {
|
if (! require(readr, quietly = TRUE)) {
|
||||||
install.packages("readr")
|
install.packages("readr")
|
||||||
library(readr)
|
library(readr)
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
|
||||||
if (!require(httr, quietly = TRUE)) {
|
if (! require(httr, quietly = TRUE)) {
|
||||||
install.packages("httr")
|
install.packages("httr")
|
||||||
library(httr)
|
library(httr)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user