[Rd] R CMD check warnings on Windows

2018-08-14 Thread Wang, Zhu
Hi all, For the R package bujar, the warnings below were generated on CRAN's Windows systems. The package uses some Fortran subroutines. I would appreciate any advice to eliminate the warnings. By the way, similar warnings were generated to some unrelated R packages as well: https://www.r-proj

Re: [Rd] vignette index

2016-03-04 Thread Wang, Zhu
...@gmail.com] Sent: Friday, March 04, 2016 10:47 AM To: Wang, Zhu; r-devel@r-project.org Subject: Re: [Rd] vignette index On 04/03/2016 9:44 AM, Wang, Zhu wrote: > Dear helpers, > > I have multiple vignette files for a package, and I would like to have the > "right" ord

[Rd] vignette index

2016-03-04 Thread Wang, Zhu
Dear helpers, I have multiple vignette files for a package, and I would like to have the "right" order of these files when displayed online. For instance, see below: https://cran.r-project.org/web/packages/bst/index.html The order of vignette links on CRAN is different from what I hoped for: >

[Rd] static pdf vignette

2015-02-26 Thread Wang, Zhu
Dear all, In my package I have a computational expensive Rnw file which can't pass R CMD check. Therefore I set eval=FALSE in the Rnw file. But I would like to have the pdf vignette generated by the Rnw file with eval=TRUE. It seems to me a static pdf vignette is an option. Any suggestions on

Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-23 Thread Wang, Zhu
That patch works flawlessly. Thanks Martyn. Zhu -Original Message- From: Martyn Plummer [mailto:plumm...@iarc.fr] Sent: Tuesday, September 23, 2014 8:39 AM To: Wang, Zhu Cc: r-devel@r-project.org Subject: Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package Try this

[Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-22 Thread Wang, Zhu
Hello, I submitted a package which used Fortran functions isnan and lgamma. However, I was told that: isnan and lgamma are not Fortran 95 functions. I was asked to write 'cross-platform portable code' and so should not be writing GNU extensions to Fortran. See http://cran.r-project.org/web/ch

[Rd] How to import S3 method

2014-03-05 Thread Wang, Zhu
Dear Helpers, I wanted to import an S3 method from package glmnet to my own R package. Specifically, I tried the following: plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, ...) UseMethod("glmnet") I got the following message when installing my package: Error : ob