[R-pkg-devel] vignette problems: invisible

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Fri Feb 1 15:41:32 CET 2019


On 01/02/2019 9:23 a.m., Duncan Murdoch wrote:
> On 01/02/2019 8:22 a.m., Troels Ring wrote:
>> devtools::install_github("troelsring/ABCharge",force=TRUE,build_vignettes =
>> TRUE)
> 
> That looks like an issue with install_github.  The normal way to install
> a package is to build the tarball, then install from that.  When I do
> that with your package, I get the vignette.

The issue is that by default, install_github() passes the 
"--no-build-vignettes" option to R CMD build.  Using this command line 
does a full install:

devtools::install_github("troelsring/ABCharge",force=TRUE,
                          build=TRUE, build_opts=NULL)

Duncan Murdoch



More information about the R-package-devel mailing list