KentonWhite / ProjectTemplate

A template utility for R projects that provides a skeletal project.
http://projecttemplate.net
GNU General Public License v3.0
622 stars 159 forks source link

Created tables_type config variable #274

Closed KentonWhite closed 5 years ago

KentonWhite commented 5 years ago

Takes values 'tibble', 'data_tables', or 'data_frame' Keeps tibbles as new default Allows for backwards compatiability with data_frames Fixes #271

Types of change

Will need to bump version number once merged. Requires migration.

Pull request checklist

Waiting until we push to CRAN before changing the website documentation. This could be a confusing change for CRAN users


Proposed changes<!--

This is fixes issue 271. Idea is that we can add default table types without breaking backward compatibility. Rather than forcing default type, users can pick from 3 common types: tibble, data_table, and data_frame. Eliminates setting flags for things like data_tables. Also provides flexibility for adding future defaults or supported data frame types.