Running ‘testthat.R’ [6s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Knoema)
  > library(zoo)
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  > 
  > test_check("Knoema")
  ── 1. Error: get data multi series by member name (@test_ts.R#32)  ─────────────
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "albania;afghanistan;united states", subject = subj_names), 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:32
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 2. Error: get data multi series by member id range (@test_ts.R#47)  ─────────
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "914;512;111", subject = "lp;ngdp", timerange = "2015-2020"), 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:47
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 3. Error: get data single series different frequencies by member id ts (@test
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP"), client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:62
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 4. Error: get data multi series single frequency by member id ts (@test_ts.R#
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "M"), 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:87
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 5. Error: get data multi series multi frequency by member id ts (@test_ts.R#1
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "A;M"), 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:110
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 6. Error: get data multi series multi frequency by member id range ts (@test_
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "A;M", 
         timerange = "2004M1-2006M12"), client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:133
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 7. Error: get data from dataset with multiword dimnames ts (@test_ts.R#155)  
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(Country = "512", Indicator = "NGDP"), type = "ts", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:155
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 8. Error: get data multi series by member key ts (@test_ts.R#181)  ──────────
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "1000010;1000000;1001830", subject = "1000370;1000040"), 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:181
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 9. Error: get data from dataset by dim ids ts (@test_ts.R#196)  ─────────────
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP"), type = "ts", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:196
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 10. Error: get series from dataset by partial selection ts (@test_ts.R#221)  
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(subject = "flibor6"), client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_ts.R:221
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 11. Error: get data single series by member id xts (@test_xts_zoo.R#4)  ─────
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "914", subject = "lp"), type = "xts", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:4
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 12. Error: get data multi series by member id zoo (@test_xts_zoo.R#15)  ─────
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "914;512;111", subject = "lp;ngdp"), type = "zoo", 
         client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:15
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 13. Error: get data multi series by member name xts (@test_xts_zoo.R#31)  ───
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "albania;afghanistan;united states", subject = subj_names), 
         type = "xts", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:31
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 14. Error: get data multi series by member id range zoo (@test_xts_zoo.R#44) 
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "914;512;111", subject = "lp;ngdp", timerange = "2015-2020"), 
         type = "zoo", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:44
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 15. Error: get data single series different frequencies by member id xts (@te
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP"), type = "xts", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:59
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 16. Error: get data multi series single frequency by member id zoo (@test_xts
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "M"), 
         type = "zoo", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:81
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 17. Error: get data multi series multi frequency by member id xts (@test_xts_
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "A;M"), 
         type = "xts", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:104
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 18. Error: get data multi series multi frequency by member id range zoo (@tes
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", Indicator = "NGDP;NGDP_D", frequency = "A;M", 
         timerange = "2004M1-2006M12"), type = "zoo", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:125
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 19. Error: get data from dataset with multiword dimnames xts (@test_xts_zoo.R
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(Country = "512", Indicator = "NGDP;NGDP_D", frequency = "A;M"), 
         type = "xts", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:147
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 20. Error: get data multi series by member key zoo (@test_xts_zoo.R#169)  ───
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(country = "1000010;1000000;1001830", subject = "1000370;1000040"), 
         type = "zoo", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:169
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 21. Error: get data from dataset by dim ids xts (@test_xts_zoo.R#184)  ──────
  Client error: (403) Forbidden
  1: Knoema("eqohmpb", list(country = "512", indicator = "NGDP;NGDP_D", frequency = "A;M"), 
         type = "xts", client.id = "bHcV5UkOVyKcBw", client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:184
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 22. Error: get series from dataset by partial selection xts (@test_xts_zoo.R#
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(subject = "flibor6"), type = "xts", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:205
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ── 23. Error: get series from dataset by partial selection zoo (@test_xts_zoo.R#
  Client error: (403) Forbidden
  1: Knoema("IMFWEO2017Oct", list(subject = "flibor6"), type = "zoo", client.id = "bHcV5UkOVyKcBw", 
         client.secret = "/0itYgLqnD0i49kmdBVSZ1qLjPU") at testthat/test_xts_zoo.R:219
  2: data.reader$GetObjectByType(type)
  3: reader$LoadDimensions()
  4: Dimension(reader$client$GetDimension(reader$get("dataset")$id, dim$id))
  5: DimensionModel(data)
  6: reader$client$GetDimension(reader$get("dataset")$id, dim$id)
  7: client$ApiGet(sprintf(path, dataset.id, dimension.name))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 70 SKIPPED: 0 FAILED: 23
  1. Error: get data multi series by member name (@test_ts.R#32) 
  2. Error: get data multi series by member id range (@test_ts.R#47) 
  3. Error: get data single series different frequencies by member id ts (@test_ts.R#62) 
  4. Error: get data multi series single frequency by member id ts (@test_ts.R#87) 
  5. Error: get data multi series multi frequency by member id ts (@test_ts.R#110) 
  6. Error: get data multi series multi frequency by member id range ts (@test_ts.R#133) 
  7. Error: get data from dataset with multiword dimnames ts (@test_ts.R#155) 
  8. Error: get data multi series by member key ts (@test_ts.R#181) 
  9. Error: get data from dataset by dim ids ts (@test_ts.R#196) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted