similar to: "R CMD check" does not find a mistake

Displaying 20 results from an estimated 1000 matches similar to: ""R CMD check" does not find a mistake"

2009 Jun 09
3
"R CMD check" does not find a mistake
Hi the list, I build a package. They was a mistake in it, but R CMD check did not find it. Is that normal ? Here is what Kurt gets (which is right, I did this mistake): --- 8< ---------------- * checking for code/documentation mismatches ... WARNING S4 class codoc mismatches from documentation object 'LongData-class': Slots for class 'LongData' Code: id other time traj
2014 Sep 12
0
Compatibility issues between Matrix and kml
Hi the list, I am the maintainer of the package kml. I quite often receive some email about a specific bug. The answer is always the same, I tell people to remove the package Matrix, and then kml works fine. I wonder what my code is not compatible with the Matrix package. Here is a (simplified) version of the kml code : --- 8< ------------ library(longitudinalData)
2015 May 26
0
Compatibility issue between lme4 and kml (operateur "[")
Hi all, There is a compatibility issue between the package 'lme4' and my package 'kml'. I define the "[" operator. It works just fine in my package (1). If I try to use the lme4 package, then it does no longer work (2). Moreover, it has some kind of strange behavior (3). Do you know what is wrong? Any idea of how I can correct that? Thanks for your help Christophe ---
2009 Sep 09
1
Package that does not work until I re write the exactly the same code
Hi the list, I am writing a package in S4 and I do not manage to understand a bug. The "R CMD check" and the "R CMD build" both work. Here is links to the package (not on CRAN yet for the raison that I explain bellow): http://christophe.genolini.free.fr/aTelecharger/kml_0.5.zip http://christophe.genolini.free.fr/aTelecharger/kml_0.5.tar.gz Then I install the package and I
2010 Jul 02
1
Producing residual plots by time for lme object
Fellow R-users, I have a longitudinal data set with missing values in it. I would like to produce a residual plot for each time using panel.xyplot function but I get an error message. Here's a simple example, library(nlme) set.seed(1544) longdata <- data.frame(ID=gl(10,1,50), y=rnorm(50), time = as.numeric(gl(5,10,50)), x = rnorm(50)) longdata$y[5] <- NA longdata$x[35] <- NA
2012 Jun 09
2
Help with permutation function from Turner et al. 2010 (Ecology)
Hello, I'm using R code that includes a residual permutation that was written as a supplement to the paper: Turner et al. 2010. A general hypothesis-testing framework for stable isotopes ratios in ecological studies. Ecology 91:2227-2233. The supplemental code is available at: http://www.esapubs.org/archive/ecol/E091/157/suppl-1.htm When I execute the function, no warnings are given
2014 Mar 19
1
Memcheck: Invalid read of size 4
Hi the list, One of my package has a memory issue that I do not manage to understand. The Memtest notes is here: <http://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/kml-Ex.Rout> Here is the message that I get from Memtest --- 8< ---------------- ~ Fast KmL ~ ==27283== Invalid read of size 4 ==27283== at 0x10C5DF28: kml1 (kml.c:183) ... ==27283== by 0x10C5DE4F: kml1 (kml.c:151)
2002 Nov 25
2
Pspline smoothing
Dear all, I'm trying to use the Pspline add-on package to fit a quintic spline (norder =3), but I keep running into a Singularity error. > traj.spl <- smooth.Pspline(time, x, norder=3 ) Error in smooth.Pspline(time, x, norder = 3) : Singularity error in solving equations > Playing around with the other parameters produces an "unused arguments" error: > traj.spl
2006 Feb 23
0
adehabitat version 1.4
Dear all, I have just uploaded to CRAN the version 1.4 of the package 'adehabitat'. Significant changes are listed below: - The eigenanalysis of selection ratios (Calenge and Dufour, 2006, Ecology) can now be performed using the function eisera(). It can be used for the analysis of habitat selection when habitat can be considered to consist of several habitat types (e.g.
2006 Feb 23
0
adehabitat version 1.4
Dear all, I have just uploaded to CRAN the version 1.4 of the package 'adehabitat'. Significant changes are listed below: - The eigenanalysis of selection ratios (Calenge and Dufour, 2006, Ecology) can now be performed using the function eisera(). It can be used for the analysis of habitat selection when habitat can be considered to consist of several habitat types (e.g.
2008 Feb 23
1
Set without argument
Hi the list, I am defining S4 objet. Is it possbile to define a method that change the slot of an object without using <- ? My object contain a numeric and a matrix. At some point, I would like to impute the missing value in the matrix. So I would like to use something like : ----------------- setClass("MyObj",representation(time="numeric",traj="matrix")) a
2014 Sep 04
1
R CMD check --as-cran does not show all error messages.
Hello, That is my first post here and I'd like to thanks everybody in advance. I am writing a package with some R functions and try to submit it to CRAN. After build and check the package a number of times, I am struggling with the fact that the CRAN people responsible for checking packages are replying me with some mistakes that I just do NOT get when I do the check in my computer. With the
2008 Feb 08
2
learning S4
Hi the list. I try to learn the S4 programming. I find the wiki and several doc. But I still have few questions... 1. To define 'representation', we can use two syntax : - representation=list(temps = 'numeric',traj = 'matrix') - representation(temps = 'numeric',traj = 'matrix') Is there any difference ? 2. 'validityMethod' check the
2005 May 12
0
Package adehabitat version 1.3
Dear all, I have just uploaded to CRAN the version 1.3 of the package 'adehabitat'. Significant changes are listed below: - Several functions allowing the conversion from and to classes of the package sp have been added. Maps of class "asc", "kasc", "area", as well as radio-monitoring of class "traj" can now be converted to the spatial
2005 May 12
0
Package adehabitat version 1.3
Dear all, I have just uploaded to CRAN the version 1.3 of the package 'adehabitat'. Significant changes are listed below: - Several functions allowing the conversion from and to classes of the package sp have been added. Maps of class "asc", "kasc", "area", as well as radio-monitoring of class "traj" can now be converted to the spatial
2004 Jul 20
1
Performance problem
Dear all, I have a performance problem in terms of computing time. I estimate mixed models on a fairly large number of subgroups (10000) using lme(.) within the by(.) function and it takes hours to do the calculation on a fast notebook under Windows. I suspect by(.) to be a poor implementation for doing individual analysis on subgroups. Is there an alternative and more efficient way for doing
2006 Feb 28
0
burst argument in as.ltraj()
Hi. I am running the as.ltraj () function in adehabitat (v 1.4 under R 2.2.1) but can't seem to correctly specify the burst argument. i.e., the ltraj object returned consists of only one component, when in fact my data consist of more than one burst of reloctions per animal. i've set up the data (xy, date, id, burst) in list form following the example given in ?as.ltraj. to simplify,
2010 Mar 22
0
as.ltraj Error in sort.list(y)
I am trying to workout trajectories from GPS tracking data to run in the FPT function.    This is my code:   id<-data.frame (FPT[,6]) xy<-data.frame (FPT[,4], FPT[,3]) datet <- as.POSIXct (datetime) x<-as.traj(id, xy, datet)   And I get this error:   Error in sort.list(y) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?   I have checked
2010 Jan 11
1
K-means recluster data with given cluster centers
K-means recluster data with given cluster centers Dear R user, I have several large data sets. Over time additional new data sets will be created. I want to cluster all the data in a similar/ identical way with the k-means algorithm. With the first data set I will find my cluster centers and save the cluster centers to a file [1]. This first data set is huge, it is guarantied that cluster
2012 Apr 03
2
How does predict.loess work?
Dear R community, I am trying to understand how the predict function, specifically, the predict.loess function works. I understand that the loess function calculates regression parameters at each data point in 'data'. lo <- loess ( y~x, data) p <- predict (lo, newdata) I understand that the predict function predicts values for 'newdata' according to the loess regression