Unable to generate snowflake-top-countries.png
linus@symlink:~/snowflake-graphs$ Rscript top-countries.r userstats-bridge-combined-multi.csv snowflake-top-countries.png
-- Attaching packages ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse 1.3.0 --
v ggplot2 3.3.3 v purrr 0.3.4
v tibble 3.0.6 v dplyr 1.0.4
v tidyr 1.1.2 v stringr 1.4.0
v readr 1.4.0 v forcats 0.5.1
-- Conflicts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
-- Column specification ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cols(
date = col_date(format = ""),
fingerprint = col_character(),
country = col_character(),
transport = col_character(),
low = col_double(),
high = col_double(),
frac = col_double()
)
Error: Faceting variables must have at least one value
Backtrace:
x
1. \-ggplot2::ggsave(output_path, p, width = 8, height = 4)
2. +-grid::grid.draw(plot)
3. \-ggplot2:::grid.draw.ggplot(plot)
4. +-base::print(x)
5. \-ggplot2:::print.ggplot(x)
6. +-ggplot2::ggplot_build(x)
7. \-ggplot2:::ggplot_build.ggplot(x)
8. \-layout$setup(data, plot$data, plot$plot_env)
9. \-ggplot2:::f(..., self = self)
10. \-self$facet$compute_layout(data, self$facet_params)
11. \-ggplot2:::f(...)
12. \-ggplot2::combine_vars(data, params$plot_env, rows, drop = params$drop)
Execution halted
I'm at git commit 72e083be of https://gitlab.torproject.org/dcf/snowflake-graphs on a Debian Bullseye system.