tests/testthat/_snaps/appdir.md

appdir works as expected

Code
  app <- app_dir("ggplot2", "hadley", os = "mac")
  app$cache()
Output
  [1] "~/Library/Caches/ggplot2"
Code
  app$log()
Output
  [1] "~/Library/Logs/ggplot2"
Code
  app$data()
Output
  [1] "~/Library/Application Support/ggplot2"
Code
  app$config()
Output
  [1] "~/Library/Application Support/ggplot2"
Code
  app$site_data()
Output
  [1] "/Library/Application Support/ggplot2"
Code
  app$site_config()
Output
  [1] "/Library/Application Support/ggplot2"


r-lib/rappdirs documentation built on May 24, 2024, 8:17 p.m.