tests/testthat/test-vat.R

test_that("VAT info check works", {

  skip_on_cran()
  skip_on_travis()
  skip_on_appveyor()

  x <- get_vat_info("LU26375245")

  expect_equal(class(x), "list")
  expect_equal(x$vat_number, "26375245")

})

Try the vatcheckapi package in your browser

Any scripts or data that you put into this service are public.

vatcheckapi documentation built on May 31, 2023, 9:45 p.m.