From 39e22f96bb09b029ff99d1e1efb60d61003a89b3 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 10 Nov 2023 08:31:04 +1300 Subject: [PATCH] debug2 --- generators/generate-cran-versions.R | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/generators/generate-cran-versions.R b/generators/generate-cran-versions.R index de6dea2e..2308cff3 100644 --- a/generators/generate-cran-versions.R +++ b/generators/generate-cran-versions.R @@ -26,6 +26,14 @@ extract_packages_with_versions <- function(osvs) { package <- affected$package$name package2 <- affected$package name <- package2$name + + if (is.null(affected$package)) { + print("package is null!") + } + + if (is.null(affected$package$name)) { + print("package is null!") + } # print(osv$id) # print(affected) # print(package)