On Tue, 18 Nov 2008, Whit Armstrong wrote:
[EMAIL PROTECTED] R.packages]$ sudo R CMD INSTALL portfolio.construction
* Installing to library '/usr/local/lib64/R/library'
* Installing *source* package 'portfolio.construction' ...
** R
** preparing package for lazy loading
Loading required package: fts
Loading required package: quadprog
Loading required package: Rexcelpoi
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
/usr/local/lib64/R/bin/INSTALL: line 455: 25001 Done
( echo "options(warn=1); invisible(.libPaths(c(\"${lib}\",
.libPaths()))); .getRequiredPackages();
tools:::makeLazyLoading(\"${R_PACKAGE_NAME}\", \"${lib}\")" )
25002 Aborted (core dumped) | R_DEFAULT_PACKAGES=
LC_ALL=C "${R_EXE}" --vanilla --slave
ERROR: lazy loading failed for package 'portfolio.construction'
** Removing '/usr/local/lib64/R/library/portfolio.construction'
** Restoring previous '/usr/local/lib64/R/library/portfolio.construction'
[EMAIL PROTECTED] R.packages]$
I've tried a few things, but can't seem to track down the problem.
it's leaving core files in my package directory. (not in the .Rcheck
directory, directly in the package dir)
Well, you did INSTALL, not 'check', so there is no .Rcheck directory.
The issue is that it cannot load your package, and it seems the error is
in C++ code in the package or a dependency. You've given use very little
to go on beyond that.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel