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 dc4ad6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/gh-repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ ghrepo <- local({
)

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

0 comments on commit dc4ad6a

Please sign in to comment.