Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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()

usethis

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.