Skip to content

Commit 01734fa

Browse files
Update ext-springs.Rmd (#307)
Changed `}` to `)`.
1 parent e8e3925 commit 01734fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext-springs.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ We first start with the class definition:
164164
```{r, eval = FALSE}
165165
StatSpring <- ggproto("StatSpring", Stat,
166166
...
167-
}
167+
)
168168
```
169169

170170
This creates a new `Stat`[^ext-springs-1] subclass, named `StatSpring`. ggproto classes always use CamelCase for naming, and the new class is always saved into a variable with the same name.

0 commit comments

Comments
 (0)