aae-stats / aae.data

Methods to perform QA/QC on AAE data
Other
1 stars 0 forks source link

Error in measurement check (suspect due to lack of fork_lengths) #12

Closed adriankitch closed 1 year ago

adriankitch commented 1 year ago

This is the error message (data attached):

Quitting from lines 170-231 [measurement-check] (qaqc.Rmd) Error in combine_vars(): ! Faceting variables must have at least one value Backtrace:

  1. base::print(p)
  2. ggplot2:::print.ggplot(p)
  3. ggplot2:::ggplot_build.ggplot(x)
  4. layout$setup(data, plot$data, plot$plot_env)
  5. ggplot2 (local) setup(..., self = self)
  6. self$facet$compute_layout(data, self$facet_params)
  7. ggplot2 (local) compute_layout(..., self = self)
  8. ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop) Copy of AAE_standard_data_entry_template_Gellibrand 2023.csv
jdyen commented 1 year ago

Addressed in 6a25b0e. Due to all NA values in the measurements (fork length), as you suggested. Now checks for these when preparing the report and prints a statement that all values were NA if this occurs.