Apply colnames *before* coercing to a tbl_df (#739)
Apply colnames *before* coercing to a tbl_df (#739)

`dplyr::as_data_frame()` is really `tibble::as_tibble()`. An upcoming
release of tibble will be stricter about column names and, by default,
you can't have duplicate column names. This change allows prophet to
work with current CRAN tibble (v1.4.2) and the coming release.

cc @krlmlr
facebookincubator/prophet,facebookincubator/prophet,facebook/prophet,facebook/prophet,facebook/prophet