commit | cb1b388f694825cc4646621a9affc09ea133e47d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Feb 18 13:32:45 2020 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Feb 18 14:19:37 2020 +0100 |
tree | d10fa18fb9efe2d7efaecd318ea3b49445a9cdd6 | |
parent | 5ebd8a3ce805c013c555fec236000ef37f94c999 [diff] |
Fix missing cached info in verbose mode Change-Id: I70eb3067b43bd2dfd4c1acfe801adc59bc018a44
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R index 0a5d8ea..a667f9a 100644 --- a/R/KorAPConnection.R +++ b/R/KorAPConnection.R
@@ -149,7 +149,7 @@ if (kco@cache) { parsed <- R.cache::loadCache(dir=KorAPCacheSubDir(), key=list(url, kco@accessToken)) if (!is.null(parsed)) { - if (!is.null(parsed$META)) + if (!is.null(parsed$meta)) parsed$meta$cached <- "local" return(parsed) }