tests/testthat/_snaps/appdir.md

appdir works as expected

Code
  app <- app_dir("ggplot2", "hadley", os = "mac")
Code
  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"


Try the rappdirs package in your browser

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

rappdirs documentation built on Jan. 31, 2021, 9:06 a.m.