Learn R Programming

usethis (version 2.0.0)

use_data_table: Prepare for importing data.table

Description

use_data_table facilitates importing the data.table package by handling up-front some common set-up tasks for using it in your package.

This function does two main things:

  1. Import the entire data.table namespace (with @import).

  2. Block the usage of data.table as a dependency (DESCRIPTION field Depends); data.table should be used as an imported or suggested package only. See this discussion.

Usage

use_data_table()

Arguments