context("Get state vectors")
# Read your personal data from a text (comment when upload)
# path_to_file <- paste0(getwd(),"/personal_data.txt")
# username <- read.table(file=path_to_file)[1,]
# password <- read.table(file=path_to_file)[2,]
test_that("Get_state_vectors works",{
expect_error(get_state_vectors(username="test_user",password="noexiste"))
skip('Authentication with personal data in API')
expect_is(get_state_vectors(username=username,password=password),"data.frame")
expect_is(get_state_vectors(),"data.frame")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.