ropensci / daiquiri

Data quality reporting for temporal datasets.
https://ropensci.github.io/daiquiri/
GNU General Public License v3.0
35 stars 2 forks source link

Report fails when a ft_datetime() field has no values #23

Open phuongquan opened 2 months ago

phuongquan commented 2 months ago

processing file: report_htmldoc.Rmd |.................................................................................................| 100% [daiquiri-individual-fields]
Quitting from lines 481-542 [daiquiri-individual-fields] (report_htmldoc.Rmd) Error in seq.int(): ! 'to' must be a finite number Backtrace:

  1. base::print(p)
  2. ggplot2:::print.ggplot(p)
  3. ggplot2:::ggplot_build.ggplot(x)
  4. layout$setup_panel_params()
  5. ggplot2 (local) setup_panel_params(..., self = self) ...
    1. transformation$breaks(limits)
    2. grDevices (local) pretty.POSIXt(x, n, ...)
    3. grDevices (local) calcSteps(st.i <- steps[[init.i]])
    4. grDevices:::seqDtime(startTime, end = lim[2], by = s$spec)
    5. base::seq.POSIXt(beg, end, by = by, length.out = length)