[Rd] anyone familiar with this error?

Whit Armstrong armstrong.whit at gmail.com
Tue Nov 18 23:07:04 CET 2008

[whit at linuxsvr 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'
[whit at linuxsvr 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)


More information about the R-devel mailing list