Skip to content

Commit

Permalink
GH repo: make sure build_time is difftime
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 19, 2024
1 parent 178003b commit 03e2dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/gh-repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ ghrepo <- local({
""
)

inst$build_time <- inst$build_time %||% NA_real_
inst$build_time <- inst$build_time %||%
as.difftime(NA_real_, units = "secs")
cols <- data_frame(
package = inst$package,
"old" = oldver,
Expand Down

0 comments on commit 03e2dbc

Please sign in to comment.