Skip to content

Garden of forking paths not rendering  #10

@protanope

Description

@protanope

Hi, was not a signed-up student, but following along with your 2023 lectures, and couldn't get the initial 02_garden_animation.r to render without this error:

Error in garden(arc = arc, possibilities = c(0, 0, 0, 1), data = dat,  : 
  argument "prog_dat" is missing, with no default

Since no one else complained about this yet, it may just be a user-error on my part, as I'm neither an RStudio or dev regular. But I found that the error was resolved by adding a default value for prog_dat in line 93:

prog_dat=c(-1,-1,-1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions