R Under development (unstable) (2023-09-26 r85226 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > test_that("Get data for a valid ticker", { + # Replace 'TPB' with a valid ticker from your API + result <- getData(.tickers = "TPB", .size = 100) + + # Check if the result is a data frame + expect_is(result, "data.frame") + + # Add more specific expectations based on the structure of the result + # For example, check if specific columns exist or if certain values are present + }) Error in test_that("Get data for a valid ticker", { : could not find function "test_that" Execution halted