tests/testthat/test-plotWorldBank.R

  test_that("Plot layers match expectations",{
    p <- plotWorldBank(country='US', indicator='GC.DOD.TOTL.GD.ZS', start_year='2010', end_year='2018', color='blue')
    expect_is(p, 'ggplot')
  })
callanwindsor/plotWorldBank documentation built on May 15, 2019, 12:05 a.m.