cran Questions

2

Solved

From the Writing R Extensions Manual, I read that As from R 2.14.0 the preferred location for the Sweave sources is the subdirectory vignettes of the source packages, but for compatibility wit...
Perkoff asked 7/9, 2012 at 20:51

1

Solved

I'm creating a custom R package repository and would like to replicate the CRAN archive structure whereby old versions of packages are stored in the src/contrib/Archive/packageName/directory. I'd l...
Doehne asked 27/8, 2012 at 17:49

2

Solved

Related to this question, but slightly different and hopefully more clear. I am looking for a clean way to formally register methods for both S4 and S3 classes, but without relying on the terrible...
Oldline asked 24/8, 2012 at 11:53

1

Solved

What is a good way of defining a general purpose function which should have implementations for both S3 and S4 classes? I have been using something like this: setGeneric("myfun", function(x, ...){...
Lubricate asked 23/8, 2012 at 22:25

2

Solved

Not sure I am using the right terminology here, but I need the print or deparse methods use C notation (e.g. "\x05" instead of "\005" ) when escaping bytes out of the regular character set. x <...
Carmon asked 5/8, 2012 at 23:3

2

Solved

There's the available.packages() function to list all packages available on CRAN. Is there a similar function to find all available vignettes? If not how would I get a list of all vignettes and the...
Brattice asked 31/5, 2012 at 0:17

1

Solved

I have always assumed that having a package in the 'Depends' field would automatically also import the namespace. However, it seems that in R 2.15, dependencies do not become available until the pa...
Vannoy asked 11/5, 2012 at 22:21

1

Solved

i'm trying to build a R package, but it seems that there are some problems with the package dependencies. If I run the code in R, I need the packages "rgdal" and "rgeos", so for creatng the package...
Aristotelianism asked 13/4, 2012 at 18:30

2

Solved

According to the release notes for 2.15: There are new options for more rigorous testing by R CMD check selected by environment variables – see the ‘Writing R Extensions’ manual. Is "more r...
Wording asked 4/4, 2012 at 19:11

2

Solved

Is there a way to list the objects that a package exports, without actually attaching it? I tried ls(loadNamespace("ggplot2")) However this shows all of the defined and imported objects in this ...
Calvaria asked 11/3, 2012 at 20:17

1

Is there a standard R community resource for keeping up to date on known bugs or bug fixes for packages? My current approach is rather manual. (NB: I'm restricting this to CRAN - see Note 1.) My u...
Onomastics asked 16/2, 2012 at 14:10

3

Solved

According to the R News for v2.14: All packages must have a namespace, and one is created on installation if not supplied in the sources. This means that any package without a namespace must b...
Morbilli asked 3/11, 2011 at 16:28

2

Solved

Is there a nice way to extract get the R-help page from an installed package in the form of an R object (e.g a list). I would like to expose help pages in the form of standardized JSON or XML schem...
Spurn asked 18/1, 2012 at 22:57

0

[ Edit: June 2013 ] A paper has appeared on ArXiv describing this issue in greater detail, and suggesting some solutions: http://arxiv.org/abs/1303.4808. It will appear in the Journal of Stat...
Ardath asked 14/1, 2012 at 21:13

3

Solved

I am developing a framework for reproducible computing with R. One problem that I am struggling with is that some R code might run perfectly in version X.Y-Z of a package, but then why you try to r...
Abase asked 14/1, 2012 at 7:25

1

Solved

I'm trying to upload a package on CRAN for its first release, but I can't get past the FTP upload. It seems I do not have write access to ftp://cran.r-project.org/incoming: 550 Access is denied. ...
Educt asked 11/1, 2012 at 6:8

5

Solved

Is it possible to get the publication date of CRAN packages from within R? I would like to get a list of the k most recently published CRAN packages, or alternatively all packages published after d...
Occultism asked 4/1, 2012 at 5:0

3

Solved

What is supposed to happen if a package is installed in multiple libraries? For example, in Debian/Ubuntu one can install debianized packages through apt-get, and then also install a more recent ve...
Aerobe asked 8/1, 2012 at 21:31

2

I'm writing a R package (delftfews) here at office. we are using svUnit for unit testing. our process for describing new functionality: we define new unit tests, initially marked as DEACTIVATED; ...
Misti asked 29/4, 2010 at 13:29

4

Solved

I'm eager to know, how many package names on CRAN have two, three, N characters? which combinations have not yet been used ("unpoppler") how many package names use full-caps, or camelCase? how ma...
Posner asked 11/9, 2011 at 23:14

1

Solved

Although tools like RUnit, svUnit, and testthat are good for package developers, I think it would be useful to have some means of uploading test scripts or even just usage examples for particular p...
Halves asked 25/8, 2011 at 3:2

1

R users are advised to download R and R packages from local CRAN mirrors. But some are outdated. Is there an easy way to check if a repository is outdated? Any function in R that does that?
Rodi asked 2/6, 2010 at 2:31

2

Solved

When installing R packages (say mcmcpack in this example) under Ubuntu I have the choice between the following two methods of installation: # Let the distribution's packaging system take care of i...
Chivers asked 31/1, 2010 at 0:14

© 2022 - 2024 — McMap. All rights reserved.