diff --git a/scripts/ABC-dbUtilities.R b/scripts/ABC-dbUtilities.R index 4fefa61..d937222 100644 --- a/scripts/ABC-dbUtilities.R +++ b/scripts/ABC-dbUtilities.R @@ -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) } diff --git a/scripts/ABC-makeMYSPElist.R b/scripts/ABC-makeMYSPElist.R index 9dc0848..8d44f06 100644 --- a/scripts/ABC-makeMYSPElist.R +++ b/scripts/ABC-makeMYSPElist.R @@ -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) } diff --git a/scripts/ABC-makeScCCnet.R b/scripts/ABC-makeScCCnet.R index 6abed47..a19fd83 100644 --- a/scripts/ABC-makeScCCnet.R +++ b/scripts/ABC-makeScCCnet.R @@ -28,7 +28,7 @@ # # ============================================================================== -if (!require(readr, quietly = TRUE)) { +if (! require(readr, quietly = TRUE)) { install.packages("readr") library(readr) } diff --git a/scripts/BLAST.R b/scripts/BLAST.R index a4a6f12..cbc8d7d 100644 --- a/scripts/BLAST.R +++ b/scripts/BLAST.R @@ -28,7 +28,7 @@ # ============================================================================== -if (!require(httr, quietly = TRUE)) { +if (! require(httr, quietly = TRUE)) { install.packages("httr") library(httr) }