You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On our OMOP dataset, Achilles::performTemporalCharacterization() fails with the output:
Error in window.default(x, ...) : 'start' cannot be after 'end'
Calls: <Anonymous> ... <Anonymous> -> window -> window.ts -> as.ts -> window.default
Execution halted
This error could be traced to an invocation of Achilles::tsCompleteYears(). This function is called on a time series to exclude partial years from the beginning and the end of the series. However, Achilles::tsCompleteYears() fails when the time series does not contain a full year interval. The problem could be easily reproduced with:
$ Rscript -e 'Achilles::tsCompleteYears(ts(1:20, frequency = 12, start = c(2022, 02)))'
Error in window.default(x, ...) : 'start' cannot be after 'end'
Calls: <Anonymous> -> window -> window.ts -> as.ts -> window.default
Execution halted
The text was updated successfully, but these errors were encountered:
On our OMOP dataset,
Achilles::performTemporalCharacterization()
fails with the output:This error could be traced to an invocation of
Achilles::tsCompleteYears()
. This function is called on a time series to exclude partial years from the beginning and the end of the series. However,Achilles::tsCompleteYears()
fails when the time series does not contain a full year interval. The problem could be easily reproduced with:The text was updated successfully, but these errors were encountered: