CRAN Package Check Results for Package wnominate

Last updated on 2021-10-19 04:52:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.5 7.58 34.52 42.10 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.5 7.01 26.61 33.62 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.5 63.80 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.5 53.22 ERROR
r-devel-windows-x86_64 1.2.5 13.00 52.00 65.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.2.5 ERROR
r-patched-linux-x86_64 1.2.5 7.39 67.24 74.63 OK
r-patched-solaris-x86 1.2.5 108.00 OK
r-release-linux-x86_64 1.2.5 6.54 68.52 75.06 OK
r-release-macos-arm64 1.2.5 OK
r-release-macos-x86_64 1.2.5 OK
r-release-windows-ix86+x86_64 1.2.5 19.00 123.00 142.00 OK
r-oldrel-macos-x86_64 1.2.5 OK
r-oldrel-windows-ix86+x86_64 1.2.5 24.00 121.00 145.00 OK

Check Details

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in 'wnominate-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 1.033 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 834 of 912 (91.4%) predictions correct
    Predicted Nays: 1024 of 1088 (94.1%) predictions correct
    Correct Classifiction: 90.3% 92.9%
    APRE: 0.766 0.829
    GMP: 0.822 0.857
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.948 0.152
    Legislator2 0.060 0.998
    Legislator3 1.000 -0.014
    Legislator4 -0.197 -0.118
    Legislator5 0.970 0.059
    Legislator6 -0.956 0.223
    Legislator7 -0.955 -0.276
    Legislator8 -0.989 -0.099
    Legislator9 -0.522 -0.465
    Legislator10 -0.877 -0.394
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'wnominate.Rnw' using Sweave
    Loading required package: pscl
    Classes and Methods for R developed in the
    Political Science Computational Laboratory
    Department of Political Science
    Stanford University
    Simon Jackman
    hurdle and zeroinfl functions by Achim Zeileis
    
    ## W-NOMINATE Ideal Point Package
    ## Copyright 2006 -2021
    ## Keith Poole, Jeffrey Lewis, James Lo, and Royce Carroll
    ## Support provided by the U.S. National Science Foundation
    ## NSF Grant SES-0611974
    
    
    Error: processing vignette 'wnominate.Rnw' failed with diagnostics:
     chunk 5 (label = four)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    
    --- failed re-building 'wnominate.Rnw'
    
    SUMMARY: processing the following file failed:
     'wnominate.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in ‘wnominate-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 0.857 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 834 of 912 (91.4%) predictions correct
    Predicted Nays: 1024 of 1088 (94.1%) predictions correct
    Correct Classifiction: 90.3% 92.9%
    APRE: 0.766 0.829
    GMP: 0.822 0.857
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.948 0.152
    Legislator2 0.060 0.998
    Legislator3 1.000 -0.014
    Legislator4 -0.197 -0.118
    Legislator5 0.970 0.059
    Legislator6 -0.956 0.223
    Legislator7 -0.955 -0.276
    Legislator8 -0.989 -0.099
    Legislator9 -0.522 -0.465
    Legislator10 -0.877 -0.394
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in ‘wnominate-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 1.982 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 834 of 912 (91.4%) predictions correct
    Predicted Nays: 1024 of 1088 (94.1%) predictions correct
    Correct Classifiction: 90.3% 92.9%
    APRE: 0.766 0.829
    GMP: 0.822 0.857
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.948 0.152
    Legislator2 0.060 0.998
    Legislator3 1.000 -0.014
    Legislator4 -0.197 -0.118
    Legislator5 0.970 0.059
    Legislator6 -0.956 0.223
    Legislator7 -0.955 -0.276
    Legislator8 -0.989 -0.099
    Legislator9 -0.522 -0.465
    Legislator10 -0.877 -0.394
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘wnominate.Rnw’ using Sweave
    Loading required package: pscl
    Classes and Methods for R developed in the
    Political Science Computational Laboratory
    Department of Political Science
    Stanford University
    Simon Jackman
    hurdle and zeroinfl functions by Achim Zeileis
    
    ## W-NOMINATE Ideal Point Package
    ## Copyright 2006 -2021
    ## Keith Poole, Jeffrey Lewis, James Lo, and Royce Carroll
    ## Support provided by the U.S. National Science Foundation
    ## NSF Grant SES-0611974
    
    
    Error: processing vignette 'wnominate.Rnw' failed with diagnostics:
     chunk 5 (label = four)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    
    --- failed re-building ‘wnominate.Rnw’
    
    SUMMARY: processing the following file failed:
     ‘wnominate.Rnw’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in ‘wnominate-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 1.733 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 834 of 912 (91.4%) predictions correct
    Predicted Nays: 1024 of 1088 (94.1%) predictions correct
    Correct Classifiction: 90.3% 92.9%
    APRE: 0.766 0.829
    GMP: 0.822 0.857
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.948 0.152
    Legislator2 0.060 0.998
    Legislator3 1.000 -0.014
    Legislator4 -0.197 -0.118
    Legislator5 0.970 0.059
    Legislator6 -0.956 0.223
    Legislator7 -0.955 -0.276
    Legislator8 -0.989 -0.099
    Legislator9 -0.522 -0.465
    Legislator10 -0.877 -0.394
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in 'wnominate-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 1.48 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 833 of 912 (91.3%) predictions correct
    Predicted Nays: 1023 of 1088 (94%) predictions correct
    Correct Classifiction: 90.4% 92.8%
    APRE: 0.769 0.827
    GMP: 0.822 0.856
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.947 0.169
    Legislator2 0.060 0.998
    Legislator3 1.000 0.000
    Legislator4 -0.197 -0.133
    Legislator5 0.970 0.042
    Legislator6 -0.957 0.250
    Legislator7 -0.958 -0.286
    Legislator8 -0.993 -0.122
    Legislator9 -0.523 -0.433
    Legislator10 -0.879 -0.344
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.2.5
Check: examples
Result: ERROR
    Running examples in 'wnominate-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: generateTestData
    > ### Title: Test Data Generator for W-NOMINATE
    > ### Aliases: generateTestData
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    > dat<-generateTestData()
    > result<-wnominate(dat,polarity=c(1,2))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     All members meet minimum vote requirements.
    
     All votes meet minimum lopsidedness requirement.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 1.84 seconds to execute.
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 20 (0 legislators deleted)
    Number of Votes: 100 (0 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 833 of 912 (91.3%) predictions correct
    Predicted Nays: 1023 of 1088 (94%) predictions correct
    Correct Classifiction: 90.4% 92.8%
    APRE: 0.769 0.827
    GMP: 0.822 0.856
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    Legislator1 0.947 0.169
    Legislator2 0.060 0.998
    Legislator3 1.000 0.000
    Legislator4 -0.197 -0.133
    Legislator5 0.970 0.042
    Legislator6 -0.957 0.250
    Legislator7 -0.958 -0.286
    Legislator8 -0.993 -0.122
    Legislator9 -0.523 -0.433
    Legislator10 -0.879 -0.344
    > plot(result)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    Calls: plot -> plot.nomObject
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.2.5
Check: running R code from vignettes
Result: ERROR
    Errors in running code in vignettes:
    when running code in 'wnominate.Rnw'
    
    > library(wnominate)
    Loading required package: pscl
    Classes and Methods for R developed in the
    Political Science Computational Laboratory
    Department of Political Science
    Stanford University
    Simon Jackman
    hurdle and zeroinfl functions by Achim Zeileis
    
    ## W-NOMINATE Ideal Point Package
    ## Copyright 2006 -2021
    ## Keith Poole, Jeffrey Lewis, James Lo, and Royce Carroll
    ## Support provided by the U.S. National Science Foundation
    ## NSF Grant SES-0611974
    
    
    > data(sen90)
    
    > sen90
    Source: C:/sen90kh.ord
    Number of Legislators: 102
    Number of Votes: 596
    
    Using the following codes to represent roll call votes:
    Yea: 1 2 3
    Nay: 4 5 6
    Abstentions: 7 8 9
    Not In Legislature: 0
    
    Legislator-specific variables:
    [1] "state" "icpsrState" "cd" "icpsrLegis" "party"
    [6] "partyCode"
    Detailed information is available via the summary function.
    
    > selector <- c(21, 22, 44, 45, 46, 47, 48, 49, 50,
    + 53, 54, 55, 56, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 70,
    + 71, 72, 73, 74, 75, 77, .... [TRUNCATED]
    
    > sen90$m <- length(selector)
    
    > sen90$votes <- sen90$votes[, selector]
    
    > rownames(sen90$votes)[1:12]
     [1] "JOHNSON (D USA)" "SPARKMAN (D AL)" "HILL (D AL)" "GRUENING (D AK)"
     [5] "BARTLETT (D AK)" "HAYDEN (D AZ)" "FANNIN (R AZ)" "FULBRIGHT (D AR)"
     [9] "MCCLELLAN (D AR)" "KUCHEL (R CA)" "MURPHY (R CA)" "DOMINICK (R CO)"
    
    > result <- wnominate(sen90, polarity = c(2, 5))
    
    Preparing to run W-NOMINATE...
    
     Checking data...
    
     ... 1 of 102 total members dropped.
    
     Votes dropped:
     ... 36 of 208 total votes dropped.
    
     Running W-NOMINATE...
    
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Starting estimation of Beta...
     Getting bill parameters...
     Getting legislator coordinates...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
     Estimating weights...
     Getting bill parameters...
     Getting legislator coordinates...
    
    
    W-NOMINATE estimation completed successfully.
    W-NOMINATE took 12.95 seconds to execute.
    
    
    > summary(result)
    
    
    SUMMARY OF W-NOMINATE OBJECT
    ----------------------------
    
    Number of Legislators: 101 (1 legislators deleted)
    Number of Votes: 172 (36 votes deleted)
    Number of Dimensions: 2
    Predicted Yeas: 6552 of 7732 (84.7%) predictions correct
    Predicted Nays: 6426 of 7570 (84.9%) predictions correct
    Correct Classifiction: 79.79% 84.81%
    APRE: 0.365 0.523
    GMP: 0.652 0.709
    
    
    The first 10 legislator estimates are:
     coord1D coord2D
    JOHNSON (D USA) -0.485 -0.146
    SPARKMAN (D AL) 0.374 0.759
    HILL (D AL) 0.590 0.714
    GRUENING (D AK) -0.701 0.713
    BARTLETT (D AK) -0.533 0.846
    HAYDEN (D AZ) 0.155 0.883
    FANNIN (R AZ) 0.806 -0.245
    FULBRIGHT (D AR) 0.175 0.436
    MCCLELLAN (D AR) 0.810 0.294
    KUCHEL (R CA) -0.200 -0.292
    
    > plot(result)
    
     When sourcing 'wnominate.R':
    Error: formal argument "at" matched by multiple actual arguments
    Execution halted
    
     'wnominate.Rnw'... failed
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.2.5
Check: re-building of vignette outputs
Result: NOTE
    Error(s) in re-building vignettes:
    --- re-building 'wnominate.Rnw' using Sweave
    Loading required package: pscl
    Classes and Methods for R developed in the
    Political Science Computational Laboratory
    Department of Political Science
    Stanford University
    Simon Jackman
    hurdle and zeroinfl functions by Achim Zeileis
    
    ## W-NOMINATE Ideal Point Package
    ## Copyright 2006 -2021
    ## Keith Poole, Jeffrey Lewis, James Lo, and Royce Carroll
    ## Support provided by the U.S. National Science Foundation
    ## NSF Grant SES-0611974
    
    
    Error: processing vignette 'wnominate.Rnw' failed with diagnostics:
     chunk 5 (label = four)
    Error in axis(2, at = yt, ...) :
     formal argument "at" matched by multiple actual arguments
    
    --- failed re-building 'wnominate.Rnw'
    
    SUMMARY: processing the following file failed:
     'wnominate.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT