On 25.04.2010 20:33, rusers.sh wrote:
Hi all,
I find the problem.See below.
Today, i installed the newest R-VERSION2.11.0 for checking. Different
error occurred. I checked the log and found 'Hmisc' package caused this. At
present, binary package was not provided. After i installed an old version
of 'Hmisc' package, it works very well.
I think there should be no problem for R. It may be caused by
the dependent package 'Hmisc' that has no newest binary package in the
CRAN. Sorry about this.
As discussed on R-help (?) before, Hmsic is not available as a Windows
binary since it fails checks under current R-release.
Uwe Ligges
2010/4/23 rusers.sh<rusers...@gmail.com>
Hi Duncan,
Enclosed is the example package and the checking results. No rm() or
remove() in the example. Before this re-installation of R and other tools
(e.g. Rtools), there are no errors for package checking.
Thanks.
2010/4/23 Duncan Murdoch<murdoch.dun...@gmail.com>
On 23/04/2010 1:19 PM, rusers.sh wrote:
Hi Duncan,
Thanks for reminding me. See below for the error information from *.Rout
file
It seems that 'pkgname' was not found. I am not sure whether there is
some
problem with my functions or it is a little bug.
Thanks a lot.
#######
assign("ptime", proc.time(), pos = "CheckExEnv")
## at least one package changes these via ps.options(), so do this
## before loading the package.
## Use postscript as incomplete files may be viewable, unlike PDF.
## Choose a size that is close to on-screen devices, fix paper
grDevices::ps.options(width = 7, height = 7, paper = "a4", reset = TRUE)
grDevices::postscript(paste(pkgname, "-Ex.ps", sep=""))
Error in paste(pkgname, "-Ex.ps", sep = "") : object 'pkgname' not found
Calls:<Anonymous> -> checkIntFormat -> gsub -> paste
Execution halted
The very first line of stam-Ex.R should be
pkgname<- "stam"
Is it? If not, I'd like to see the package; could you send me a copy? If
it is, then something in one of your examples is messing with it. Do you
have any calls to rm() or remove() in your examples?
Duncan Murdoch
2010/4/23 Duncan Murdoch<murdoch.dun...@gmail.com>
On 21/04/2010 9:48 PM, rusers.sh wrote:
Hi all,
Today, i just installed the newest R version 2.10.1 and other
necessary
tools for building R package under windows,e.g. Rtools, perl. All are
the
newest version.
After the correct configuration under windows (configuration should be
correct), i use it to re-check my old package. I found the following
prolem
when checking EXAMPLEs in each function, which did not exist before
this
re-installation.
########
* checking examples ... ERROR
Running examples in 'stam-Ex.R' failed.
########
I used "\dontrun{} % enddontrun" in all the examples of my functions
that
should be no problem, i think. I checked my package before and did not
find
errors. I also browsed the checking results in 'stam-Ex.R'. It listed
all
the example codes in that file, something like this,
cleanEx(); nameEx("stcdt")
### * stcdt
flush(stderr()); flush(stdout())
###example codes
I did not met this problem before. Any ideas on solving this?
Thanks a lot.
You need to show us the end of the stam-Ex.Rout file. It will contain
the
error message.
Duncan Murdoch
--
-----------------
Jane Chang
Queen's
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel