[GenABEL-dev] Fwd: [Genabel-commits] r684 - in pkg/VariABEL: . R man
Yurii Aulchenko
yurii.aulchenko at gmail.com
Mon Mar 7 18:17:39 CET 2011
Sorry, somehow my e-mail got cut at the start, once again
This commit comment suggest this version should pass R CMD check
From R CMD INSTALL I get
** building package indices ...
** testing if installed package can be loaded
Error in namespaceExport(ns, exports) : undefined exports: var.test.gwaa
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Resources/library/VariABEL’
* restoring previous
‘/Library/Frameworks/R.framework/Resources/library/VariABEL’
It looks like in NAMESPACE you export var.test.gwaa, while the
function name is var_test_gwaa
Yurii
On Mon, Mar 7, 2011 at 6:10 PM, <noreply at r-forge.wu-wien.ac.at> wrote:
> Author: maksim
> Date: 2011-03-07 18:10:10 +0100 (Mon, 07 Mar 2011)
> New Revision: 684
>
> Added:
> pkg/VariABEL/man/var_test_gwaa.Rd
> Removed:
> pkg/VariABEL/man/var.test.homogeneity.Rd
> Modified:
> pkg/VariABEL/NAMESPACE
> pkg/VariABEL/R/var.meta.gwaa.R
> pkg/VariABEL/R/var.test.gwaa.R
> Log:
> fix errors from R CMD check
>
> Modified: pkg/VariABEL/NAMESPACE
> ===================================================================
> --- pkg/VariABEL/NAMESPACE 2011-03-07 15:18:02 UTC (rev 683)
> +++ pkg/VariABEL/NAMESPACE 2011-03-07 17:10:10 UTC (rev 684)
> @@ -2,7 +2,7 @@
>
>
> export(
> - var.meta.gwaa,
> +# var.meta.gwaa,
> var.test.gwaa#,
> #test_databel
> )
>
> Modified: pkg/VariABEL/R/var.meta.gwaa.R
> ===================================================================
> --- pkg/VariABEL/R/var.meta.gwaa.R 2011-03-07 15:18:02 UTC (rev 683)
> +++ pkg/VariABEL/R/var.meta.gwaa.R 2011-03-07 17:10:10 UTC (rev 684)
> @@ -16,36 +16,36 @@
> #=====================================================================================
>
>
> -
> -
> -"var.meta.gwaa" <-
> -function(input_filenames,
> - testname,
> - output_filename="output.variance.metaanalysis",
> - exclude_snp_below_threshold=F,
> - threshold=30,
> - all_warnings=F,
> - skip_first_lines_amount=0,
> - delim=' ') {
> -
> -
> -file_amount <- length(filenames_array)
> -
> -
> -return_val <- .C("var_meta_gwaa_C", input_filenames, as.integer(file_amount), output_filename, as.integer(skip_first_lines_amount), delim,
> - lambdas = double(file_amount+1),
> - lambdas_NA = integer(file_amount+1),
> - as.logical(exclude_snp_below_threshold),
> - as.integer(threshold),
> - as.logical(all_warnings),
> - as.character(testname))
More information about the genabel-devel
mailing list