Skip to content

Commit

Permalink
fix #354 dplyr::tbl_df -> tibble::as_tibble, only one instance
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jun 8, 2020
1 parent a2c840d commit 3f51943
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ importFrom(dplyr,mutate)
importFrom(dplyr,rename)
importFrom(dplyr,rowwise)
importFrom(dplyr,select)
importFrom(dplyr,tbl_df)
importFrom(dplyr,ungroup)
importFrom(ggplot2,aes)
importFrom(ggplot2,autoplot)
Expand Down
2 changes: 1 addition & 1 deletion R/ghcnd.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ ghcnd_splitvars <- function(x){
dplyr::select(value) %>%
dplyr::rename(sflag = value)

dplyr::tbl_df(cbind(dd, mflag, qflag, sflag))
tibble::as_tibble(cbind(dd, mflag, qflag, sflag))
})
stats::setNames(out, tolower(unique(x$element)))
}
Expand Down
2 changes: 1 addition & 1 deletion R/rnoaa-package.r
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
#' @importFrom tidyr gather separate
#' @importFrom rappdirs user_cache_dir
#' @importFrom gridExtra grid.arrange
#' @importFrom dplyr %>% select mutate rename tbl_df filter bind_rows
#' @importFrom dplyr %>% select mutate rename filter bind_rows
#' as_tibble contains rowwise do bind_cols ungroup
#' @importFrom tibble as_tibble data_frame
#' @importFrom scales comma
Expand Down

0 comments on commit 3f51943

Please sign in to comment.