fUnitRoots failing with urca import due to BIC
Dirk Eddelbuettel
edd at debian.org
Sat May 28 23:52:40 CEST 2011
Hi all,
During a routine rebuild of the Debian archive, it was noticed that
fUnitRoots no longer builds (http://bugs.debian.org/628324):
make[1]: Entering directory `/tmp/buildd/funitroots-2100.76/src'
gfortran -fpic -O3 -pipe -g -c UnitRootMacKinnon.f -o UnitRootMacKinnon.o
gcc -shared -o fUnitRoots.so UnitRootMacKinnon.o -llapack -lblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
make[1]: Leaving directory `/tmp/buildd/funitroots-2100.76/src'
make[1]: Entering directory `/tmp/buildd/funitroots-2100.76/src'
make[1]: Leaving directory `/tmp/buildd/funitroots-2100.76/src'
installing to /tmp/buildd/funitroots-2100.76/debian/r-cran-funitroots/usr/lib/R/site-library/fUnitRoots/libs
** R
** inst
** preparing package for lazy loading
Error : object 'BIC' is not exported by 'namespace:nlme'
Error : package 'urca' could not be loaded
ERROR: lazy loading failed for package 'fUnitRoots'
Did something change in nlme which upsets urca? I only see (in urca's
NAMESPACE)
## Import functions
importFrom(graphics, plot)
if (!exists("BIC", envir=asNamespace("stats"))) {
importFrom(nlme, BIC)
} else {
importFrom(stats, BIC) # unless you already import stats
}
I tried adding 'stats' to the Depends: in urca's DESCRIPTION but not beans.
Any ideas?
--
Gauss once played himself in a zero-sum game and won $50.
-- #11 at http://www.gaussfacts.com
More information about the Rmetrics-core
mailing list