Running examples in ‘EpistemicGameTheory-Ex.R’ failed
The error most likely occurred in:

> ### Name: type
> ### Title: Finding types that express common belief in rationality for
> ###   optimal choices
> ### Aliases: type
> 
> ### ** Examples
> 
> Ar=matrix(c(0,3,2,4,0,2,4,3,0),3,3)
> choices.Ar=c("Blue","Green","Red")
> Br=matrix(c(5,4,4,3,5,3,2,2,5),3,3)
> choices.Br=c("Blue","Green","Red")
> type(Ar,Br,choices.Ar,choices.Br)
Installing package into ‘/tmp/Rtmp5jaOWo/RLIBS_1d8519203670’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/lpSolve_5.6.13.tar.gz'
Content type 'application/x-gzip' length 466230 bytes (455 KB)
==================================================
downloaded 455 KB

* installing *source* package ‘lpSolve’ ...
** package ‘lpSolve’ successfully unpacked and MD5 sums checked
** libs
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c colamd.c -o colamd.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c commonlib.c -o commonlib.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c hbio.c -o hbio.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c ini.c -o ini.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c isfixedvar.c -o isfixedvar.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_Hash.c -o lp_Hash.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_LUSOL.c -o lp_LUSOL.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_MDO.c -o lp_MDO.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_MPS.c -o lp_MPS.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_SOS.c -o lp_SOS.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_crash.c -o lp_crash.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_lib.c -o lp_lib.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_matrix.c -o lp_matrix.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_mipbb.c -o lp_mipbb.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_params.c -o lp_params.o
"lp_params.c", line 268: warning: initializer will be sign-extended: -1
"lp_params.c", line 269: warning: initializer will be sign-extended: -1
"lp_params.c", line 270: warning: initializer will be sign-extended: -1
"lp_params.c", line 274: warning: initializer will be sign-extended: -1
"lp_params.c", line 278: warning: initializer will be sign-extended: -1
"lp_params.c", line 283: warning: initializer will be sign-extended: -1
"lp_params.c", line 302: warning: initializer will be sign-extended: -1
"lp_params.c", line 305: warning: initializer will be sign-extended: -1
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_presolve.c -o lp_presolve.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_price.c -o lp_price.o
"lp_price.c", line 774: warning: statement not reached
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_pricePSE.c -o lp_pricePSE.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_report.c -o lp_report.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_rlp.c -o lp_rlp.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_scale.c -o lp_scale.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_simplex.c -o lp_simplex.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_utils.c -o lp_utils.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lp_wlp.c -o lp_wlp.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lpslink56.c -o lpslink56.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lusol.c -o lusol.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c lusolio.c -o lusolio.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c mmio.c -o mmio.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c myblas.c -o myblas.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c sparselib.c -o sparselib.o
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia  -I/usr/local/include   -KPIC  -O -xlibmieee -xtarget=native  -c yacc_read.c -o yacc_read.o
cc -xc99 -G -L/usr/local/lib -o lpSolve.so colamd.o commonlib.o hbio.o ini.o isfixedvar.o lp_Hash.o lp_LUSOL.o lp_MDO.o lp_MPS.o lp_SOS.o lp_crash.o lp_lib.o lp_matrix.o lp_mipbb.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_rlp.o lp_scale.o lp_simplex.o lp_utils.o lp_wlp.o lpslink56.o lusol.o lusolio.o mmio.o myblas.o sparselib.o yacc_read.o
installing to /tmp/Rtmp5jaOWo/RLIBS_1d8519203670/lpSolve/libs
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (lpSolve)

The downloaded source packages are in
	‘/tmp/Rtmp8Xa4rr/downloaded_packages’
Warning in get0(oNam, envir = ns) : internal error -3 in R_decompress1
Error in get0(oNam, envir = ns) : 
  lazy-load database '/tmp/Rtmp5jaOWo/RLIBS_1d8519203670/lpSolve/R/lpSolve.rdb' is corrupt
Calls: type -> :: -> getExportedValue -> get0
Execution halted