tests/testthat/test-s3-ggplot2-GuideAxisLogticks.R

test_that("GuideAxisLogticks", {
  skip_if_not_installed("ggplot2")
  skip_if(with_versions(ggplot2 <= "3.5.2"))
  # examples from ?guide_axis_logticks
  expect_construct(ggplot2::guide_axis_logticks(prescale.base = 2))
  expect_construct(ggplot2::guide_axis_logticks(negative.small = 1))
})

Try the constructive package in your browser

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

constructive documentation built on Nov. 5, 2025, 7:14 p.m.