[R-pkg-devel] vignette problems: invisible

Hong Ooi hongoo| @end|ng |rom m|cro@o|t@com
Fri Feb 1 12:16:59 CET 2019


The various devtools::install_* functions don't install vignettes by default; to do so, add the build_vignettes=TRUE argument.

-----Original Message-----
From: R-package-devel <r-package-devel-bounces using r-project.org> On Behalf Of Troels Ring
Sent: Friday, 1 February, 2019 10:15 PM
To: package-develop <r-package-devel using r-project.org>
Subject: [R-pkg-devel] vignette problems: invisible

Dear friends - I'm closing in on finalizing the package and its current version is on github/troelsring/ABCharge and it passes ctrl shift E without errors and now also has a vignette. I can see the vignette OK in its directory but issuing after installing from github by devtools, it cannot be called from help(package="ABCharge") or : vignette(package="ABCharge").

 

> devtools::install_github("troelsring/ABCharge",force=TRUE)

Downloading GitHub repo troelsring/ABCharge using master

  

  

   checking for file
'C:\Users\Troels\AppData\Local\Temp\RtmpSa60vS\remotes2b4452b72409\troelsrin
g-ABCharge-4b62da6/DESCRIPTION' ...

  

   checking for file
'C:\Users\Troels\AppData\Local\Temp\RtmpSa60vS\remotes2b4452b72409\troelsrin
g-ABCharge-4b62da6/DESCRIPTION' ... 

  

v  checking for file
'C:\Users\Troels\AppData\Local\Temp\RtmpSa60vS\remotes2b4452b72409\troelsrin
g-ABCharge-4b62da6/DESCRIPTION'

 

  

-  preparing 'ABCharge':

   checking DESCRIPTION meta-information ...

  

   checking DESCRIPTION meta-information ... 

  

v  checking DESCRIPTION meta-information

  

  

-  checking for LF line-endings in source and make files and shell scripts

 

   

  

-  checking for empty or unneeded directories

 

    

  

-  looking to see if a 'data/datalist' file should be added

 

   

  

-  building 'ABCharge_0.1.0.tar.gz'

   

 

Installing package into 'C:/Users/Troels/Documents/R/win-library/3.5'

(as 'lib' is unspecified)

* installing *source* package 'ABCharge' ...

** R

** data

** byte-compile and prepare package for lazy loading

** help

*** installing help indices

  converting help for package 'ABCharge'

    finding HTML links ... done

    BCharge                                 html  

    Baeza                                   html  

    Bspecif                                 html  

    CMB                                     html  

    CO2specif                               html  

    GET_CH                                  html  

    K3                                      html  

    Kc                                      html  

    Pittsburgh                              html  

    Schell                                  html  

    Tessman                                 html  

    brom                                    html  

    getI                                    html  

    getfs                                   html  

    kw                                      html  

    malate                                  html  

    pH_general                              html  

** building package indices

** installing vignettes

** testing if installed package can be loaded

*** arch - i386

*** arch - x64

* DONE (ABCharge)

In R CMD INSTALL

> help(package=ABCharge)

starting httpd help server ... done

> vignette(package="ABCharge")

no vignettes found

 

I believe I have been through the list in Hadley's "Vignettes: long-form documentation" without finding the explanation.

 

Wonder what error I did make:

All best wishes

Troels Ring, MD


	[[alternative HTML version deleted]]

______________________________________________
R-package-devel using r-project.org mailing list
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-devel&data=02%7C01%7Chongooi%40microsoft.com%7Ce265aaf98a98483539d308d6883681a5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636846165026041774&sdata=HscUwUke5%2Bwd26xQY0FmwdE7zeOy%2FAuhmNYQfTvsvS4%3D&reserved=0



More information about the R-package-devel mailing list