Skip to content

Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds for bfastlite in R #109

Open

Description

@mohammad-a-sh

Hello,

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.

Thank you.

Activity

  1. GreatEmerald commented on Dec 18, 2023

    @GreatEmerald
    Collaborator

    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.

  2. mohammad-a-sh commented on Dec 19, 2023

    @mohammad-a-sh
    Author

    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?

  3. GreatEmerald commented on Dec 21, 2023

    @GreatEmerald
    Collaborator

    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.

  4. added
    question
    on Oct 10, 2024
  5. JanaL626 commented on Sep 19, 2025

    @JanaL626

    Was this question / problem already resolved? And what would be a solution to handle this error ?

  6. GreatEmerald commented on Mar 12, 2026

    @GreatEmerald
    Collaborator

    I have not yet received a way to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions