humlab-speech / reindeer

An R emu package for working with speech data in a nordic climate
1 stars 0 forks source link

Specifying no default arguments does not work #47

Closed FredrikKarlssonSpeech closed 1 year ago

FredrikKarlssonSpeech commented 1 year ago

segments_following |>
  quantify(praat_voice_report) 
ℹ Ignoring the `toFile` arguments as they are not used by `.source()`
ℹ Intermediate results are not cached.
ℹ Using metadata to derive DSP settings where not explicitly set by the user.
✔ Loaded precomputed age and gender appropriate DSP settings
Error in `dplyr::mutate()` at reindeer/R/tidy_trackdata.R:719:2:
ℹ In argument: `explicitOrDefaultParamsDF`.
Caused by error:
! `explicitOrDefaultParamsDF` must be size 3 or 1, not 0.
Backtrace:
  1. global quantify(segments_following, praat_voice_report)
 15. dplyr:::dplyr_internal_error(...)
Error in dplyr::mutate(dplyr::mutate(tibble::rownames_to_column(segmentDSPDF, :

Caused by error:
! `explicitOrDefaultParamsDF` must be size 3 or 1, not 0.