• using R version 2.11.1 Patched (2010-07-29 r52657)
  • using session charset: ISO8859-1
  • checking for file 'lordif/DESCRIPTION' ... OK
  • checking extension type ... Package
  • this is package 'lordif' version '0.1-7'
  • checking package name space information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking whether package 'lordif' can be installed ... OK
  • checking package directory ... OK
  • checking for portable file names ... 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 whether the package can be unloaded cleanly ... OK
  • checking whether the name space can be loaded with stated dependencies ... OK
  • checking whether the name space can be unloaded cleanly ... 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 metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking data for non-ASCII characters ... OK
  • checking examples ... ERROR
    Running examples in 'lordif-Ex.R' failed.
    The error most likely occurred in:

    > ### * lordif-package
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Name: lordif-package
    > ### Title: LOgistic Regression Differential Item Functioning using IRT
    > ### Aliases: lordif-package
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > ##load PROMIS Anxiety sample data (n=766)
    > data(Anxiety)
    > ##age : 0=younger than 65 or 1=65 or older
    > ##gender: 0=Male or 1=Female
    > ##education: 0=some college or higher 1=high school of lower
    > ##run age-related DIF on all 29 items (takes about a minute)
    > age.dif <- lordif(Anxiety[paste("R",1:29,sep="")],Anxiety$age)
    Iteration 1 : 5 items flagged for DIF (7,9,11,18,24)
    Iteration 2 : 4 items flagged for DIF (9,11,18,24)
    Iteration 3 : 4 items flagged for DIF (9,11,18,24)
    > ##print output
    > ##print(age.dif)
    > ##print extended output
    > ##summary(age.dif)
    > ##generate plots for DIF items (reference group: <65)
    > ##plot(age.dif,labels=c("Younger","Older"))
    > ##run Monte Carlo simulations for threshold values
    > ##this may take several minutes
    > age.dif.MC<-montecarlo(age.dif,alpha=0.05,nr=100)
    Start time: Thu Oct 14 17:34:50 2010

    Replication: 1
    Replication: 2
    Replication: 3
    Replication: 4
    Replication: 5
    Replication: 6
    Replication: 7
    Replication: 8
    Replication: 9
    Replication: 10
    Replication: 11
    Replication: 12
    Replication: 13
    Replication: 14
    Replication: 15
    Replication: 16
    Replication: 17
    Replication: 18
    Replication: 19
    Replication: 20
    Replication: 21
    Replication: 22
    Replication: 23
    Replication: 24
    Replication: 25
    Replication: 26
    Replication: 27
    Replication: 28
    Replication: 29
    Replication: 30
    Replication: 31
    Replication: 32
    Replication: 33
    Replication: 34
    Replication: 35
    Replication: 36
    Replication: 37
    Replication: 38
    Replication: 39
    Replication: 40
    Replication: 41
    Replication: 42
    Replication: 43
    Replication: 44
    Replication: 45
    Replication: 46
    Replication: 47
    Replication: 48
    Replication: 49
    Replication: 50
    Replication: 51
    Replication: 52
    Replication: 53
    Replication: 54
    Replication: 55
    Replication: 56
    Replication: 57
    Replication: 58
    Replication: 59
    Replication: 60
    Replication: 61
    Replication: 62
    Replication: 63
    Error in lrm(rv ~ ev * gr) : Unable to fit model using "lrm.fit"
    Calls: montecarlo -> rundif -> runolr -> lrm
    Execution halted