KentonWhite / ProjectTemplate

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

Feature request #215: Convert data.frame to tibble #217

Closed Hugovdberg closed 6 years ago

Hugovdberg commented 6 years ago

As per feature request #215, this PR implements a change to convert all loaded data to tibbles. The change is mostly cosmetically as it stands, since it uses a different print function from a standard data.frame. For now it doesn't use the full powers of the tidyverse, as it simply converts to a tibble instead of using the readr functions for loading data. The main rationale is that doing so would introduce a major backwards incompatibility as it removes the option stringsAsFactors altogether. Given the popularity of the tidyverse within the R community, and of course the performance improvements of the readr functions over the base functions, it is definitely something we as a project should consider. That would be for a version 1.x though I guess.

Hugovdberg commented 6 years ago

Nice, it says my work is bad because Travis CI couldn't even install the R environment, and it seems there is something outdated with the Travis environment. @KentonWhite do you know how to fix this? EDIT: Fixed by closing and reopening the PR.