bfast2 / bfast

Breaks For Additive Season and Trend
https://bfast2.github.io
GNU General Public License v2.0
41 stars 15 forks source link

bfast0n/Error in UseMethod("breakpoints") #69

Closed Eco-bin closed 3 years ago

Eco-bin commented 3 years ago

When run the bfast0n.r (https://github.com/bfast2/bfast/tree/master/examples), an error occurred. "Error in UseMethod("breakpoints"): no applicable method for 'breakpoints' applied to an object of class 'data.frame' " ps:I install both packages with:library(devtools) install_github("bfast2/strucchange") install_github("bfast2/bfast")

GreatEmerald commented 3 years ago

It works for me, but I just updated the function, so perhaps just try rerunning install_github("bfast2/bfast") and running the code again.

Eco-bin commented 3 years ago

It's ok now, thanks a lot!