Im trying to create a vignette using the following command from Hadley Wickham's R-package book:
devtools::use_vignette("my_package")
But get the following error:
Error: 'my_package' is not an exported object from 'namespace:devtools'
Im trying to create a vignette using the following command from Hadley Wickham's R-package book:
devtools::use_vignette("my_package")
But get the following error:
Error: 'my_package' is not an exported object from 'namespace:devtools'
Copyright © 2021 Jogjafile Inc.
You are looking at the old version of the book at http://r-pkgs.had.co.nz/vignettes.html.
Check out the newer version at https://r-pkgs.org/vignettes.html:
In newer versions of
devtools, it relies onusethisfor functions likeuse_vignette().