# Not sure how to write this test # test_that(".onLoad works", { # # withr::local_options("ECHARTS4R_THEME" = "NOTNULL") # withr::with_options("ECHARTS4R_THEME", "NOTNULL") # # .onLoad("x", "x") # expect_null( getOption("ECHARTS4R_THEME")) # expect_null( getOption("ECHARTS4R_FONT_FAMILY")) # # })