tests/testthat/test-ai_tool_search_web.R

test_that("search_web - invalid args", {
  expect_error(search_web(list()), "Invalid arguments for SearchWeb")
})

test_that("search_web - regular search", {
  skip_if_offline("duckduckgo.com")
  expect_true(nchar(search_web(list(query = "MyOwnRobs"))$output) > 0)
})

Try the myownrobs package in your browser

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

myownrobs documentation built on Nov. 5, 2025, 5:52 p.m.