Displaying 20 results from an estimated 400 matches similar to: "R CMD check --as-cran does not show all error messages."
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
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
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
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
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
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
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
---
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.
2017 Nov 23
2
Bug in R CMD INSTALL when handling invalid LazyData DESCRIPTION field
Hi, I think I've found a bug in R CMD INSTALL. When it tries to parse a
DESCRIPTION file with an invalid LazyData field, it errors out while
trying to print the correct error message:
> R CMD INSTALL .
* installing to library ?/home/example/R/x86_64-pc-linux-gnu-library/3.4?
* installing *source* package ?samplepackage? ...
** data
Error in errmsg("invalid value of ", field,
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
2007 Nov 14
3
When to use LazyLoad, LazyData and ZipData?
Dear developeRs,
I've searched the documentation, FAQ, and mailing lists, but haven't
found the answer(*) to the following:
When should one specify LazyLoad, LazyData, and ZipData?
And what is the default if they are left unspecified?
(*)Except that
1) If the package you are writing uses the methods package, specify
LazyLoad: yes, and
2) The optional ZipData field controls whether the
2012 Jan 18
4
R package dev: how to export constant?
Hi,
i create two constants kilo and milli in [1]. These should be available
after loading
library(sitools)
How should i export them and what have i done wrong?
(Other suggestions for improving the package are welcome too)
The ready to use .tar.gz and the source can be found on github [2,3]
kind regatds,
[1] https://github.com/jonasstein/sitools/blob/master/init.R
[2]
2010 Mar 15
1
problem in reading trajectory file
Hi,
I'm trying to read some trajectory files (text files) which have the form:
# trial n
# t X Y
0 1 2
0.2 1 3
0.4 1.2 4
...
# trial n+1
# t X Y
0 1 2
0.2 1.3 3.3
0.4 1.5 5
...
...
where the symbol # means that the line is not a numeric value, but I still
need to read the number of the trial (n=1, 2, etc.).
I
2012 Nov 06
1
LazyData: no / yes
Hi the list
I have package foo0 with a big dataset 'myData'.
In DESCRIPTION, if I use 'LazyData: no', then I get:
- when I open a R session : memory used=20 908
- when I attach 'library(foo0)' : memory used=24364
- then I load the set 'data(myData)' : memory used=39 668
If I use LazyData: yes', then I get
- when I open a R session : memory used=20 908
2002 Oct 02
6
help to make a map on R
Hi all,
I need a little help for construct an state's map on R.
The first problem is to get the data.
I have a datafile of longitude and latitude in the follow format:
trajectory latitude longtude
T -22.045618 -51.287056
T -22.067078 -51.265888
T -22.067039 -51.207249
T -22.059690 -48.089695
T -22.075529 -48.074608
T -22.072460 -48.044472
T -22.062767 -48.298473
T -22.077349
2009 Jun 09
0
"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)
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