That worked. Thanks.
From: Michael Dewey
Sent: Sunday, February 16, 2020 5:54 PM
To: Servet Ahmet Çizmeli ;
r-help@r-project.org
Subject: Re: [R] testing my package : unstated dependency to self in package
tests
When something similar happened to me I found
I am updating my CRAN package geoSpectral. I get the following Warning during R
CMD check :
...
* checking for unstated dependencies in �tests� ... WARNING
'library' or 'require' call not declared from: �geoSpectral�
All the .R files I have under the testhat directory begin by :
library(ge
Hi everyone
I just submitted my new package to CRAN. All checks passed on all
platforms, except one in solaris :
as(df2, "Spectra")
Error: tz1.set == tz2.set is not TRUE
More details on :
https://cran.r-project.org/web/checks/check_results_geoSpectral.html
In this package I defined an
Hello
When I create a new instance of an S4 class in R, I would like the newly
created object to have a unique id field. I try to achieve it through
UUIDgenerate() from the uuid package. The problem is that I obtain the
same UUID at every new object instance :
library(uuid)
setClass("C",
re
Both methods solve my problem. Thanks a lot to Gabor and David!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal,
Hello,
I have a stupid regexp question. I have a large data frame of strings. I would
like to convert all occurences of :
"W.m^{-2}"
to
"W/m2"
I make the following test :
gsub(glob2rx("W.m^{-2}"), "W/m2", "W.m^{-2}")
but it does not seem to work. I don't know how to do it otherwise as I coul
I think I located the problem. the data frame associated with my spatial object
(Insitu_sp) contains some NAs. And in this case, the function plot does not
like NAs. It simply behaved strangely. The code below did the trick :
idx = is.na(Insitu[,"SPM"])
ptsize = 0.35*(sqrt(Insitu[!idx,"SPM"])+1)
p
Dear all,
I am trying to plot on a spatial map the punctual measurements of the data
located in the file (https://opengeo.metu.edu.tr/test.csv). I'd like to have
the dots in some way proportional to the magnitudes of the measurements.
I have difficulties with the code given below: The dot sizes
8 matches
Mail list logo