From 6fcc4b03ed3fc42be76d4e43d863db3d85c8babb Mon Sep 17 00:00:00 2001 From: Joe Cheng Date: Sat, 23 May 2020 11:46:25 -0700 Subject: [PATCH] Add missing roxygenize step (#370) * Add missing roxygenize step * Remove setwd, it's done automatically now --- vignettes/develop_intro.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/develop_intro.Rmd b/vignettes/develop_intro.Rmd index bd37a7e6..fdaa5a25 100644 --- a/vignettes/develop_intro.Rmd +++ b/vignettes/develop_intro.Rmd @@ -278,8 +278,8 @@ This method is highly recommended as it ensures that you get started with the ri ```r devtools::create("mywidget") # create package using devtools -setwd("mywidget") # navigate to package dir htmlwidgets::scaffoldWidget("mywidget") # create widget scaffolding +devtools::document() # roxygenize, so NAMESPACE is updated devtools::install() # install the package so we can try it ```