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
{{ message }}
Repository navigation
Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds for bfastlite in R #109
I have developed a code for BFAST, and when executed for the BFAST family (bfast, bfastmonitor, etc.), it runs without any issues. However, upon attempting to run "bfastlite", I encountered the following error:
Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds
I am now seeking guidance on whether this error is related to my dataset, the code I have written, or the bfastlite package itself, and how I can resolve it.
Could you provide a reprex? Generally that error means that the triangular matrix of optimal break locations did not get computed correctly for some reason.
Activity
GreatEmerald commentedon Dec 18, 2023
Could you provide a reprex? Generally that error means that the triangular matrix of optimal break locations did not get computed correctly for some reason.
mohammad-a-sh commentedon Dec 19, 2023
Thank you for your guidance.
The path you mentioned will be lengthy. Is it possible to send you the data and code via email or send it here?
GreatEmerald commentedon Dec 21, 2023
Please try to make a minimal reproducible example, see here for some suggestions: https://stackoverflow.com/help/minimal-reproducible-example For instance, provide only the one pixel that causes the issue, not your whole dataset. Only provide your call to bfastlite, not any unrelated code for loading the data etc.
JanaL626 commentedon Sep 19, 2025
Was this question / problem already resolved? And what would be a solution to handle this error ?
GreatEmerald commentedon Mar 12, 2026
I have not yet received a way to reproduce this issue.