Skip to content

Commit

Permalink
docs: fix module's readme template
Browse files Browse the repository at this point in the history
wrong argument name!
  • Loading branch information
asiripanich committed Jan 26, 2020
1 parent c293c44 commit e050db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/templates/module-README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ event_{{{module}}}_eventname1 <- modules::use(here::here("{{{module_path}}}/even
create_toy_world()
world %>%
event_{{{module}}}_eventname1$run(x = ., model = model)
event_{{{module}}}_eventname1$run(world = ., model = model)
```

## Event name 2
Expand Down Expand Up @@ -122,7 +122,7 @@ event_{{{module}}}_eventname2 <- modules::use(here::here("{{{module_path}}}/even
create_toy_world()
world %>%
event_{{{module}}}_eventname2$run(x = ., model = model)
event_{{{module}}}_eventname2$run(world = ., model = model)
```

# Known issues
Expand Down

0 comments on commit e050db3

Please sign in to comment.