Displaying 20 results from an estimated 9000 matches similar to: "Codoc mismatches"
2013 Jan 04
1
Bug in R CMD check for \ in Rd?
Hi,
I have a function knit_expand() and its source/Rd are below:
https://github.com/yihui/knitr/blob/master/R/template.R#L43-L44
https://github.com/yihui/knitr/blob/master/man/knit_expand.Rd
When I run R CMD check on the package I get this warning (with both R
2.15.2 and R-devel):
* checking for code/documentation mismatches ... WARNING
Codoc mismatches from documentation object
2010 Feb 02
1
codoc mismatches warning
Hi,
Doing 'R CMD check diveMove' is now throwing this message:
Data codoc mismatches from documentation object 'sealLocs':
Variables in data frame 'sealLocs'
Code: id.time.class.lon.lat
Docs: class id lat lon time
with:
R> sessionInfo()
R version 2.10.1 (2009-12-14)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
2009 Sep 22
3
R PNG graph width limitation
Hi folks,
I am trying to do a clustering and generate a long dendrogram in R on Linux
server:
=========
data<-read.table(file="mean_ratio.txt.noheader",row.names=1,sep="\t",quote="\"")
hc<-hclust(dist(data),"ward")
png(file="mean_ratio.txt.noheader.ward.png",bg="white",pointsize=8,width=32767,height=1536)
plot(hc,hang=-1)
2010 Mar 12
3
rmaxwell in C
Hi R useRs:
How can I generate a random sample from Maxwell Distribution in C language?
Since I know the function rmaxwell {VGAM}, I tried the function r2c {r2c}.
But I still cannot find the source code.
Thanks for your kind help.
RegaRds,
2010-03-12
Randel
[[alternative HTML version deleted]]
2012 Dec 14
1
Strange, most probably unjustified, codoc mismatch for S4 method with one argument plus '...' (re-try)
Hi,
I just figured out that I accidentally posted my message in HTML, so I
am retrying in plain text only. Sorry.
I am currently extending one of our CRAN packages and ran into an
unexpected problem when checking the source package. I got some warnings
in the step "* checking for code/documentation mismatches". I double
checked everything and did not see anything that would
2009 Nov 07
2
Rpad and R 2.10.0
I have problems with Rpad and R 2.10.0 (Windows XP and Windows 7,
browser is Firefox)
Just starting Rpad by
library(Rpad)
Rpad()
opens the browser and displays the
.html files and the .Rpad files in my home directory, but these
files do not have links and are not clickable.
Doing the same in R 2.9.2 gives clickable links in the browser.
Furthermore, in both cases an empty graphics window
2001 Sep 06
4
code/documentation mismatches
Hi,
I would like to get a hint on how to debug in the case of
#> R CMD check pllib
signalling
* checking for code/documentation mismatches ... WARNING
Error in parse(file, n, text, prompt) : syntax error on line 22
I am able to sort out which of the files is the culprit is by swapping
files in and out of the /R and /man directories. But I cannot find the
syntax error, the .Rd file seems
2009 Nov 09
1
deparse() and the 'else' statement
Hi all,
It is recommended in ?'if' that we use 'else' right after '}' instead
of starting a new line, but I noticed deparse() will separate '}' and
'else' when the 'if...else' clause is used inside {...} (e.g. function
body). Here is an example:
## if/else inside {}
> cat(deparse(parse(text='function(){if (TRUE) {1} else {2}}')),
2010 Mar 11
1
parse an HTML page with verbose error message (using XML)
I'm using the function htmlParse() in the XML package, and I need a
little bit help on error handling while parsing an HTML page. So far I
can use either the default way:
# error = xmlErrorCumulator(), by default
library(XML)
doc = htmlParse("http://www.public.iastate.edu/~pdixon/stat500/")
# the error message is:
# htmlParseStartTag: invalid element name
or the tryCatch()
2005 Aug 16
1
Fwd: Documenting data sets with many variables
Hi,
since nobody answered to my first message, I try to explain my problem more
clearly and more general this time:
I have a data set in my R package "micEcon", which has many variables (82).
Therefore, I would like to avoid to describe all variables in the "\format"
section of the documentation (.Rd file). However, doing this lets "R CMD
check" complain about
2009 Nov 03
2
about the cox result
Hi all:
I finished cox analysis like this:
fit_cox<-coxph(Surv(dat$Time, dat$death) ~ dat$CD4 + strata(dat$gender),data=dat);
> fit_cox
Call:
coxph(formula = Surv(data_ori$Time, data_ori$death) ~ data_ori$drug +
strata(data_ori$gender), data = data_ori)
coef exp(coef) se(coef) z p
data_ori$drugddI 0.216 1.24 0.146 1.47 0.14
Likelihood ratio test=2.17 on
2010 Apr 13
1
WinBUGS Question
Hi:
Is there a way we can set up WINBUGS to run 100 simulated datasets on the
same model and output results? Or do we have to call in each dataset at a
time and repeat the process 100 times manually?
Thanks
Anamika
[[alternative HTML version deleted]]
2009 Sep 30
1
Is there a R function that can do similar things like 'pdist' in Matlab?
Hi,
I want to compute the pairwise correlation for about 10,000 genes. In
Matlab there is a function called 'pdsit' that can do this very
efficiently. I am wondering is there a similar function in R?
Thanks,
RT Ye.
2009 Oct 23
2
how do you know which functions are being debugged?
This is kind of a dumb question: I know you can use isdebugged() to find
out if a specific function is flagged for debugging, but is there a way to
list all the functions that are flagged for debugging?
Thanks,
Andrew
[[alternative HTML version deleted]]
2009 Nov 14
1
Silently loading an R package.
Hello.
I've been working an a binding between OCaml and R (i.e. calling R from
OCaml, mostly). See below for a taste of it.
I'm currently wondering how to load a given R package silently. I tried
require(xts, quietly = TRUE)
but I still get some ugly output. Is it possible to squeeze off this
output on stdout?
All the best,
Guillaume Yziquel.
> yziquel at seldon:~$
2010 Apr 09
2
Line breaks in mathematical formulae in Rd files
Hello,
I would like to implement the feature request described here:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13287. I think
this is a very worthwhile feature.
However, I need just a little push in the right direction. When I
added either a new command or change the old one to use eqnarray as
proposed, the "\\" newline characters were not properly passed to
latex - even
2013 Aug 16
3
Bug#688308: installing some additional docs
tags 688308 +patch
thanks
A lot of /docs/ is pretty low-level and not all that interesting to be
installed by the packages. However some of it is, and in particular some
is referenced from the manpages. I've cherry-picked the bits which I
think are most interesting in that context. Patch below.
8<---------------
commit 7f8ac283e684b7c713d52ed845cab0704a97abab
Author: Ian Campbell <ijc
2010 Mar 15
1
XML: Slower parsing over time with htmlTreeParse()
Sorry, I listed the wrong package in the header of my previous post!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dear List,
has anyone of you experienced a significant increase in the time it takes to
parse an URL via "htmlTreeParse()" when this function is called
2011 May 10
2
Being VERY careful while using the --delete option
On UNIX, I am executing an rsync command, from within a script. The command
goes something like this:
/usr/bin/rsync --verbose --progress --stats --compress --recursive --times
--perms --links --safe-links source_dir/
user at target_machine:/parent_path/source_dir
In other words, I am replicating source_dir on a remote machine. It ends up
next to a lot of sibling, directories, like this:
On
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