CRAN packages maintained by you

Kurt Hornik Kurt.Hornik at wu.ac.at
Thu Feb 11 22:26:38 CET 2010


Dear maintainers,

This concerns the packages

  BioStatR BiplotGUI GAMens MChtest NestedCohort REEMtree ROCR RQDA SGP
  ca choplump dirmult dlm emdbook extremevalues fPortfolio gene2pathway
  lemma mclust mixlow plotrix primer randomSurvivalForest rattle
  rconifers season ssanv tweedie

maintained by one of you.

These packages have a file CITATION (in the top-level package source
directory), where R really uses inst/CITATION.

Can we pls have updates with the citation file in the right place?

Please also ensure that your citation file does not make calls to
packageDescription() or alike to access the package metadata.  Instead,
please require at least R >= 2.8.0, and use a variable called 'meta' in
your code which will be passed on automagically to citation().  I.e.,
instead of e.g.

  desc <- packageDescription("mixlow")
  year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", desc$Date)
  vers <- paste("R package version", desc$Version)

use

  year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
  vers <- paste("R package version", meta$Version)

If requiring R >= 2.8.0 is a problem, use e.g.

  if(!exists("meta") || is.null(meta)) meta <- packageDescription("mixlow")
  year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
  vers <- paste("R package version", meta$Version)

I find such (and other) problems in the CITATION files for

  BioStatR REEMtree ROCR RQDA dirmult dlm emdbook extremevalues
  fPortfolio gene2pathway lemma mclust mixlow plotrix primer
  randomSurvivalForest rattle rconifers season

Best
-k



More information about the Rmetrics-core mailing list