clean
This commit is contained in:
parent
d2f4cdca2c
commit
63a742d775
1 changed files with 0 additions and 6 deletions
|
|
@ -96,9 +96,6 @@ build_metadata_summary <- function(package_name, platform) {
|
||||||
"' AND platform = '", platform, "'"
|
"' AND platform = '", platform, "'"
|
||||||
))
|
))
|
||||||
|
|
||||||
print(sprintf("Package: %s", package_name))
|
|
||||||
print(sprintf("Platform: %s", platform))
|
|
||||||
|
|
||||||
# Calculate the summary
|
# Calculate the summary
|
||||||
summary <- metadata %>%
|
summary <- metadata %>%
|
||||||
group_by(package_name, platform) %>%
|
group_by(package_name, platform) %>%
|
||||||
|
|
@ -109,9 +106,6 @@ build_metadata_summary <- function(package_name, platform) {
|
||||||
percentage_successful_builds = round(successful_builds / total_builds * 100, 2)
|
percentage_successful_builds = round(successful_builds / total_builds * 100, 2)
|
||||||
)
|
)
|
||||||
|
|
||||||
print("DEBUG")
|
|
||||||
print(summary)
|
|
||||||
|
|
||||||
# Check if the metadata_summary table exists
|
# Check if the metadata_summary table exists
|
||||||
if ("metadata_summary" %in% dbListTables(con)) {
|
if ("metadata_summary" %in% dbListTables(con)) {
|
||||||
# Update the row for the specified package
|
# Update the row for the specified package
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue