- using R version 2.10.0 Under development (unstable) (2009-07-01 r48886)
- using session charset: UTF-8
- checking for file 'Biodem/DESCRIPTION' ... OK
- this is package 'Biodem' version '0.1'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'Biodem' can be installed ... WARNING
Found the following significant warnings:
Warning: invalid whitespace before brace in file 'sur.freq.Rd' at ' \item{freq.table} { character string specifying the tipe of surname frequency table to be calculated. The available options are: "males" (table calculated using only male surnames); "females" (table calculated using only female surnames); "total" (table calculated using all the surnames); "marriages" (tables calculated using observed pairs of surnames in each population). The default option is "total". }'
See http://www.r-project.org/nosvn/R.check/r-devel-linux-ix86/Biodem-00install.html for details.
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd files against version 2 parser ... WARNING
Warning in parse_Rd("./man/sur.freq.Rd", encoding = "unknown") :
bad markup (extra space?) at sur.freq.Rd:17:20
Warning: ./man/sur.freq.Rd:17: Unnecessary braces at ‘{ character string specifying the tipe of surname frequency table to be calculated. The available options are: "males" (table calculated using only male surnames); "females" (table calculated using only female surnames); "total" (table calculated using all the surnames); "marriages" (tables calculated using observed pairs of surnames in each population). The default option is "total". }’
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking data for non-ASCII characters ... OK
- checking examples ... ERROR
Running examples in 'Biodem-Ex.R' failed.
The error most likely occurred in:
> ### * Fst
>
> flush(stderr()); flush(stdout())
>
> ### Name: Fst
> ### Title: Calculates the Fst from the conditional kinship matrix
> ### Aliases: Fst
> ### Keywords: array manip misc
>
> ### ** Examples
>
> # Swedlund data again...
> data(P); data(S); data(N)
> # starting with how many cycles to equilibrium
> x<-mal.eq(S,P,N)
> # calculation of phi
> phi<-mal.phi(S,P,N,x)
> # calcutaion of the conditional kinship matrix
> cond<-mal.cond(phi,N)
Error in PHI %*% k : requires numeric/complex matrix/vector arguments
Calls: mal.cond
Execution halted