[R-pkg-devel] Survey from CRAN Cookbook project

2024-06-28 Thread Heather Turner
Dear All, If you would like to share your thoughts on the CRAN submission process, please fill this short survey from the CRAN Cookbook project 🍴 📝 Survey: https://forms.gle/umdew9KHWeQSehq8A 📢 Project announcement: https://www.linkedin.com/pulse/improving-skills-r-package-maintainers-support-f

Re: [R-pkg-devel] new maintainer for CRAN package XML

2024-01-25 Thread Heather Turner
Re: guidance on how to migrate from XML to xml2, these notes from Daniel Nüst may be helpful: https://gist.github.com/nuest/3ed3b0057713eb4f4d75d11bb62f2d66. Best wishes, Heather On Wed, Jan 24, 2024, at 3:38 PM, Emmanuel Blondel wrote: > if XML is deprecated, then what would be the choice for a

Re: [R-pkg-devel] LaTeX warnings on debian builds only

2019-01-19 Thread Heather Turner
Hi Adam, I suspect these two lines in your YAML header are causing trouble > %\usepackage[utf8]{inputenc} > %\usepackage[table]{xcolor} - this is LaTeX code, which you shouldn't need if you're producing an HTML vignette. Also, with more recent versions of R markdown you should use knitr::r

Re: [R-pkg-devel] shadowing a method from the stats package

2019-01-16 Thread Heather Turner
Hi Oscar, I don't think this is such a good idea, for a few reasons. First, `setMethod` defines an S4 method, so both an S3 method (from stats) and an S4 method (from your package) will be defined. This seems to work, but could give unexpected results and is confusing for anyone trying to under

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
ed on the first glm as follows: subset[subset] <- linearity On Mon, Jul 9, 2018, at 10:14 PM, Heather Turner wrote: > Good point. In that case a solution might be to create a model frame > based on the named variables, e.g. > > # general formula > f <- ~ log(x) + ns(v, df = 2

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
e original variables, so when model.frame() is called > again within glm(), it won't find the original variables > - variables with data-dependent bases (poly(), ns(), etc.) get > computed and stuck in the model frame - again, the original variables > are inaccessible > >

Re: [R-pkg-devel] Determine subset from glm object

2018-07-09 Thread Heather Turner
On Sun, Jul 8, 2018, at 8:25 PM, Charles Geyer wrote: > I spoke too soon. The problem isn't that I don't know how to get the > subset argument. I am just calling glm (via eval) with (mostly) the > same arguments as the call to my function, so subset is (if not > missing) an argument to my funct

Re: [R-pkg-devel] compilation flags WARNING

2018-07-05 Thread Heather Turner
it only contains > > # PKG_CFLAGS = -Wall > # PKG_FFLAGS = -Wall -fbounds-check > PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) > > Göran > > On 2018-07-05 17:43, Heather Turner wrote: > > > > > > On Thu, Jul 5, 2018, at 3:39 PM, Iñaki Úcar wrote: >

Re: [R-pkg-devel] compilation flags WARNING

2018-07-05 Thread Heather Turner
On Thu, Jul 5, 2018, at 3:39 PM, Iñaki Úcar wrote: > El jue., 5 jul. 2018 a las 16:11, Göran Broström > () escribió: > > > > I am preparing a CRAN release of eha (a trivial change due to a change > > in the survival package), but when checking the build I get: > > > > goran@M6800:~/R$ R CMD chec

[R-pkg-devel] Handling packages required to build vignettes

2018-01-17 Thread Heather Turner
Dear All, Since the Fedora checks on R-devel are not currently using packages from Bioconductor, one of my packages is giving new warnings. In my case (and it appears for a number of others) this is due to using BiocStyle::html_document format in the package vignette. Since BiocStyle is only requi

Re: [R-pkg-devel] Rd File Line Widths Not Suggested in Manual

2017-11-22 Thread Heather Turner
Dear Dario, There is a note in the Guidelines for Rd files (https://developer.r-project.org/Rds.html) which is linked to in Sec 2.1 of R-ext. It could be useful for these guidelines could be incorporated in R-ext itself so people don't have to look in two different places, but I think some of the

Re: [R-pkg-devel] Can roxygen2 export export() and S3method() to namespace?

2017-09-22 Thread Heather Turner
Hi Jens, If you also have the line #' @export all.bit you will get export(all.bit) in the NAMESPACE file. You still need to keep #' @export to get S3method(all,bit) Best wishes, Heather On Fri, Sep 22, 2017, at 10:23 AM, Jens Oehlschlägel wrote: > Hi, > > is there a way to have roxy

[R-pkg-devel] Build of PDF vignette fails on r-oldrel-osx-x86_64

2017-09-18 Thread Heather Turner
Dear All, I am getting the NOTE below on my BradleyTerry2 package for r-oldrel-osx-x86_64. Unfortunately I don't have access to a Mac and I can't reproduce the error using R-hub. checking re-building of vignette outputs ... NOTE Error in re-building vignettes: ... Warning in grepl("(Rerun to ge