Start tidyverse migration
Change-Id: Ifc972de789c22e2ff43159740d7f1fa7125e1ef2
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 7eface5..fa8f1f5 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -4,10 +4,11 @@
#' New \code{KorAPConnection} objects can be created by \code{KorAPConnection()}.
#'
#' @import R.cache
-#' @import jsonlite
#' @import utils
#' @import methods
-#'
+#' @import dplyr
+#' @import purrr
+#' @import tidyr
#'
#' @export
@@ -64,6 +65,8 @@
#' @rdname KorAPConnection-class
#' @param kco KorAPConnection object
#' @param url request url
+#' @importFrom jsonlite fromJSON
+#' @export
setMethod("apiCall", "KorAPConnection", function(kco, url) {
if (kco@cache) {
parsed <- R.cache::loadCache(dir=KorAPCacheSubDir(), key=list(url))