diff --git a/.Rbuildignore b/.Rbuildignore index 97f6a767..e99f93cb 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -31,3 +31,4 @@ ^Rplots\.pdf$ ^vignettes/precompute\.Rmd\.orig$ +^codecov\.yml$ diff --git a/codemeta.json b/codemeta.json index 29df5201..20c83da9 100644 --- a/codemeta.json +++ b/codemeta.json @@ -14,7 +14,7 @@ "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.3.3 (2024-02-29)", + "runtimePlatform": "R version 4.4.0 (2024-04-24 ucrt)", "author": [ { "@type": "Person", @@ -104,7 +104,7 @@ "@type": "SoftwareApplication", "identifier": "pkgdown", "name": "pkgdown", - "version": ">= 2.0.0", + "version": ">= 2.0.8", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -146,7 +146,7 @@ "SystemRequirements": null }, "isPartOf": "https://ropenspain.es/", - "fileSize": "219.323KB", + "fileSize": "221.3KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/inst/schemaorg.json b/inst/schemaorg.json index ac87c156..3057d02b 100644 --- a/inst/schemaorg.json +++ b/inst/schemaorg.json @@ -22,7 +22,7 @@ "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.3.3 (2024-02-29)", + "runtimePlatform": "R version 4.4.0 (2024-04-24 ucrt)", "version": "0.2.0" }, { diff --git a/vignettes/articles/descargas.Rmd b/vignettes/articles/descargas.Rmd index a41a7892..8721564f 100644 --- a/vignettes/articles/descargas.Rmd +++ b/vignettes/articles/descargas.Rmd @@ -185,6 +185,10 @@ avg_daily <- dwn %>% group_by(package) %>% summarise(avg = round(mean(count, na.rm = TRUE), 1)) +avg_daily_all <- dwn %>% + summarise(avg = round(mean(count, na.rm = TRUE), 1)) + + # Une todo y da nombres end <- fechas %>% @@ -263,7 +267,7 @@ reactable( "media diaria" = colDef( format = colFormat(separators = TRUE), footer = function(values) { - p <- round(mean(values), 2) + p <- round(avg_daily_all$avg, 2) prettyNum(p, big.mark = ".", decimal.mark = ",") } ), @@ -296,21 +300,20 @@ res <- lapply(mypaks, function(x) { info <- jsonlite::read_json(tmp) df_init <- as_tibble( - info[c("name", "date_publication", "occurred", "package_size", "version")] + info[c("name", "date_publication", "package_size", "version")] ) df_prep <- df_init %>% mutate( date_in_cran = as.Date(date_publication), - date_in_ppm = as.Date(occurred), psize = paste(round(package_size / (1024^2), 2), "Mb"), mdown = as.integer(info$downloads) ) %>% select( package = name, lvers = version, - date_in_cran, date_in_ppm, , psize, mdown + date_in_cran, psize, mdown ) @@ -322,7 +325,7 @@ res_all <- bind_rows(res) %>% names(res_all) <- c( "paquete", "Última version", "en CRAN", - "en Posit", "Tamaño", "Descargas (último mes)" + "Tamaño", "Descargas (último mes)" ) diff --git a/vignettes/plot-1.png b/vignettes/plot-1.png index 4c555e38..6d7b769c 100644 Binary files a/vignettes/plot-1.png and b/vignettes/plot-1.png differ diff --git a/vignettes/precompute.Rmd b/vignettes/precompute.Rmd index 55ae1505..f7adb6fa 100644 --- a/vignettes/precompute.Rmd +++ b/vignettes/precompute.Rmd @@ -12,7 +12,7 @@ vignette: > This is an example of a precomputed vignette: -```r +``` r library("ggplot2") ggplot(faithfuld, aes(waiting, eruptions)) +