promotionImpact icon indicating copy to clipboard operation
promotionImpact copied to clipboard

Error in xtfrm.data.frame(x) : cannot xtfrm data frames

Open eat-toast opened this issue 11 months ago • 1 comments

안녕하세요 제목과 같은 오류가 발생해서 확인해 보니, R 버전이 올라가서 그런지 에러가 발생하는 것 같습니다.

오류의 원인은 277번 줄, "data <- data[order(data[time.field]),]" 부분 때문인데요 https://github.com/ncsoft/promotionImpact/blob/4cf10dae9e8104e3673215666fa46645914ef5a0/R/promotion_impact.R#L277

data[do.call(order, list( c(data[, time.field]) )), ]

이렇게 고치면 수정이 되는 것 같습니다.

eat-toast avatar Mar 07 '24 10:03 eat-toast

아래 자료를 참고 했습니다. https://stackoverflow.com/questions/77830976/error-in-xtfrm-data-framex-cannot-xtfrm-data-frames

eat-toast avatar Mar 07 '24 10:03 eat-toast