[Genabel-commits] r2059 - pkg/MixABEL

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Oct 12 09:54:45 CEST 2016


Author: lckarssen
Date: 2016-10-12 09:54:45 +0200 (Wed, 12 Oct 2016)
New Revision: 2059

Modified:
   pkg/MixABEL/DESCRIPTION
   pkg/MixABEL/NAMESPACE
Log:
Fix a few MixABEL build warnings about unknown functions

As of June 2015, only the base package is loaded when running checks.
So, for example the stats package containing pchisq() is no longer
loaded, resulting in build errors.

This commit adds an Import statement for the stats and methods
packages in the DESCRIPTION file and appropriate import() and
importFrom() commands in the NAMESPACE file.


Modified: pkg/MixABEL/DESCRIPTION
===================================================================
--- pkg/MixABEL/DESCRIPTION	2016-08-18 09:07:21 UTC (rev 2058)
+++ pkg/MixABEL/DESCRIPTION	2016-10-12 07:54:45 UTC (rev 2059)
@@ -7,7 +7,7 @@
 Maintainer: Yurii Aulchenko <yurii.aulchenko at gmail.com>
 Depends: R (>= 2.4.0), GenABEL (>= 1.5-8)
 Suggests: RUnit, DatABEL (>= 0.1-5), GenABEL.data
-Imports: Rcpp (>= 0.11.0), mvtnorm, MASS
+Imports: MASS, methods, mvtnorm, Rcpp (>= 0.11.0), stats
 LinkingTo: Rcpp
 Description: Provides methods for fast mixed models for association
              analysis in samples of related individuals.

Modified: pkg/MixABEL/NAMESPACE
===================================================================
--- pkg/MixABEL/NAMESPACE	2016-08-18 09:07:21 UTC (rev 2058)
+++ pkg/MixABEL/NAMESPACE	2016-10-12 07:54:45 UTC (rev 2059)
@@ -4,8 +4,10 @@
 export(FastMixedModel)
 export(GWFGLS)
 export(summaryFGLS)
+import(stats)
 import(GenABEL)
 import(MASS)
 import(mvtnorm)
+importFrom(methods, as, is)
 importFrom(Rcpp,evalCpp)
 useDynLib(MixABEL)



More information about the Genabel-commits mailing list