Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
Thanks a lot - that solved the issue!
Best wishes
Troels

-Oprindelig meddelelse-
Fra: Duncan Murdoch  
Sendt: 1. februar 2019 15:42
Til: Troels Ring ; package-develop 

Emne: Re: [R-pkg-devel] vignette problems: invisible

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_vigne
>> ttes =
>> 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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Duncan Murdoch

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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Duncan Murdoch

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.


Duncan Murdoch

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
By the way:

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

didn't help

BW
Troels

 

Fra: Troels Ring  
Sendt: 1. februar 2019 12:15
Til: package-develop (r-package-devel@r-project.org)

Emne: 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@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  

bromhtml  

getIhtml  

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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Hong Ooi via R-package-devel
--- Begin Message ---
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  On Behalf Of 
Troels Ring
Sent: Friday, 1 February, 2019 10:15 PM
To: package-develop 
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@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  

bromhtml  

getIhtml  

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@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

--- End Message ---
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
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@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  

bromhtml  

getIhtml  

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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel