Skip to content

Commit c31d721

Browse files
committed
Minor tutorial improvement
1 parent ca7b313 commit c31d721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vignettes/intro_htmlwidgets.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ To create a new widget you can call `scaffoldReactWidget` to generate the basic
5757
The following R code will create a package and add the `react-sparklines` dependency:
5858

5959
```{r eval = FALSE}
60+
# Set the current working directory to your home directory. The new widget will
61+
# be created in ~/reactSparklines
62+
setwd("~")
6063
# Create a directory 'reactSparklines' and populate it with skeletal package
6164
# If run within RStudio, this will create a new RStudio session
6265
usethis::create_package("reactSparklines")

0 commit comments

Comments
 (0)