tests/testthat/_snaps/data-table.md

use_data_table() Imports data.table

Code
  roxygen_ns_show()
Output
  [1] "#' @importFrom data.table .BY"       
  [2] "#' @importFrom data.table .EACHI"    
  [3] "#' @importFrom data.table .GRP"      
  [4] "#' @importFrom data.table .I"        
  [5] "#' @importFrom data.table .N"        
  [6] "#' @importFrom data.table .NGRP"     
  [7] "#' @importFrom data.table .SD"       
  [8] "#' @importFrom data.table :="        
  [9] "#' @importFrom data.table data.table"

use_data_table() blocks use of Depends

Code
  roxygen_ns_show()
Output
  [1] "#' @importFrom data.table .BY"       
  [2] "#' @importFrom data.table .EACHI"    
  [3] "#' @importFrom data.table .GRP"      
  [4] "#' @importFrom data.table .I"        
  [5] "#' @importFrom data.table .N"        
  [6] "#' @importFrom data.table .NGRP"     
  [7] "#' @importFrom data.table .SD"       
  [8] "#' @importFrom data.table :="        
  [9] "#' @importFrom data.table data.table"


Try the usethis package in your browser

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

usethis documentation built on July 9, 2023, 7:23 p.m.