From 03e2dbcce46ab8615f711508924cf4eb8d96ee42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 19 Mar 2024 15:14:17 +0100 Subject: [PATCH] GH repo: make sure build_time is difftime --- R/gh-repo.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/gh-repo.R b/R/gh-repo.R index a725df1e..31d7c632 100644 --- a/R/gh-repo.R +++ b/R/gh-repo.R @@ -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,