Skip to content

Commit 87ccd07

Browse files
committed
Update npm syntax in widget vignette
1 parent 5f5da29 commit 87ccd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/intro_htmlwidgets.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ setwd("~")
5151
# If run within RStudio, this will create a new RStudio session
5252
usethis::create_package("sparklines")
5353
# Generate skeletal reactR widget code and supporting build configuration
54-
reactR::scaffoldReactWidget("sparklines", c("react-sparklines", "^1.7.0"))
54+
reactR::scaffoldReactWidget("sparklines", list(name = "react-sparklines", version = "^1.7.0"))
5555
```
5656

5757
## Building and installing

0 commit comments

Comments
 (0)