Git Product home page Git Product logo

Comments (3)

alhauser avatar alhauser commented on May 4, 2024

Can you provide a function call that leads to the crash? I can't reproduce a crash.

Tested:

library(CausalImpact)

test_data <- read.table("spce.csv", sep = ",", header = TRUE)
fin.ci(dat, "2021-05-28", period = "daily")

This works.

Note that the function fin.ci() itself produces an error if period is different from "daily" because the variable extend (argument to ifelse()) is not defined.

from causalimpact.

stucash avatar stucash commented on May 4, 2024

Can you provide a function call that leads to the crash? I can't reproduce a crash.

Tested:

library(CausalImpact)

test_data <- read.table("spce.csv", sep = ",", header = TRUE)
fin.ci(dat, "2021-05-28", period = "daily")

This works.

Note that the function fin.ci() itself produces an error if period is different from "daily" because the variable extend (argument to ifelse()) is not defined.

I have edited the function sorry I thought extend was irrelevant; I added it back now in the function signature.

The call that led to crash was just that plot(res).

I am experiencing crash with ggplot2 now as well; my gut feeling is that I might have messed up some base R plotting libraries (which is highly unlikely though......)? I am not sure whether this is a valid issue for this package any more. If you guys can't reproduce it in any environment it should be a safe close.

from causalimpact.

alhauser avatar alhauser commented on May 4, 2024

I have edited the function sorry I thought extend was irrelevant; I added it back now in the function signature.

Thanks.

The call that led to crash was just that plot(res).

I meant, what call of fun.ci() crashes? Which arguments do you have to provide to fun.ci() to cause the crash in plot(res) within that function?

I am experiencing crash with ggplot2 now as well; my gut feeling is that I might have messed up some base R plotting libraries (which is highly unlikely though......)? I am not sure whether this is a valid issue for this package any more. If you guys can't reproduce it in any environment it should be a safe close.

OK. Maybe try updating all packages to the latest version and see if the error persists.

from causalimpact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.