tests/testthat/_snaps/check_pkg_usage.md

check_pkg_usage() working on test

Code
  print(res)
Output
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat

  -- Unused Packages: 0 ----------------------------------------------------------

  -- Functions with unknown origin: 9 --------------------------------------------
  x bind_cols       x map        
  x bind_cols_2     x mutate     
  x filter          x n          
  x id              x n_distinct 
  x if_else

check_pkg_usage working on target

Code
  res
Output
  == Package Usage Report ========================================================
  -- Used Packages: 2 ------------------------------------------------------------
  v data.table
  v testthat

  -- Unused Packages: 0 ----------------------------------------------------------

  -- Specifically (`pkg::fun()`) further used Packages: 2 ------------------------
  i dplyr
  i purrr

  -- Functions with unknown origin: 1 --------------------------------------------
  x bind_cols_2


Try the origin package in your browser

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

origin documentation built on April 3, 2025, 11:03 p.m.