Patrick Giraudoux
2011-Oct-16 07:50 UTC
[Rd] Error in gzfile(file, mode) when checking a package with rcmd check
Hi, For the first time I have a strange behaviour when checking a package before 'packaging' the code. Looks like a file cannot be read. rcmd check pgirmess * using log directory 'U:/Documents and Settings/pgiraudo/Mes documents/R/pgir_arch/pgirmess_arch/On work/pgirmess.Rcheck' * using R version 2.13.2 (2011-09-30) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'pgirmess/DESCRIPTION' ... OK * this is package 'pgirmess' version '1.5.2' * checking package dependencies ... OK * checking if this is a source package ... OK * checking for .dll and .exe files ... OK * checking whether package 'pgirmess' can be installed ... ERROR Installation failed. See 'U:/Documents and Settings/pgiraudo/Mes documents/R/pgir_arch/pgirmess_arch/On work/pgirmess.Rcheck/00install.out' for details. In '00install.out', I get: * installing *source* package 'pgirmess' ... ** R ** data ** preparing package for lazy loading ** help *** installing help indices ** building package indices ... ** testing if installed package can be loaded Error in gzfile(file, mode) : cannot open the connection Calls: %in% -> match -> installed.packages -> saveRDS -> gzfile In addition: Warning message: In gzfile(file, mode) : cannot open compressed file 'U:\DOCUME~1\Admin\LOCALS~1\Temp\RtmpwWcmem/libloc_U%3a%2fDocuments%20and%20Settings%2fpgiraudo%2fMes%20documents%2fR%2fpgir_arch%2fpgirmess_arch%2fOn%20work%2fpgirmess.RcheckVersion,Priority,Depends,Imports,LinkingTo,Suggests,Enhances,OS_type,License,Archs,Built.rds', probable reason 'No such file or directory' Execution halted ERROR: loading failed * removing 'U:/DOCUME~1/pgiraudo/MESDOC~1/R/PGIR_A~1/PGIRME~1/ONWORK~1/PGIRME~1.RCH/pgirmess' Any hint welcome ! I am stuck on that. Patrick
Patrick Giraudoux
2011-Oct-16 09:02 UTC
[Rd] Error in gzfile(file, mode) when checking a package with rcmd check
PS: looks like if it has something to do with moving from R 2.13.1 to R 2.13.2, since I cannot even check earlier versions of the pgirmess package that where well checked and compiled under earlier R versions. Le 16/10/2011 09:50, Patrick Giraudoux a ?crit :> Hi, > > For the first time I have a strange behaviour when checking a package > before 'packaging' the code. Looks like a file cannot be read. > > rcmd check pgirmess > > * using log directory 'U:/Documents and Settings/pgiraudo/Mes > documents/R/pgir_arch/pgirmess_arch/On work/pgirmess.Rcheck' > * using R version 2.13.2 (2011-09-30) > * using platform: i386-pc-mingw32 (32-bit) > * using session charset: ISO8859-1 > * checking for file 'pgirmess/DESCRIPTION' ... OK > * this is package 'pgirmess' version '1.5.2' > * checking package dependencies ... OK > * checking if this is a source package ... OK > * checking for .dll and .exe files ... OK > * checking whether package 'pgirmess' can be installed ... ERROR > Installation failed. > See 'U:/Documents and Settings/pgiraudo/Mes > documents/R/pgir_arch/pgirmess_arch/On > work/pgirmess.Rcheck/00install.out' for details. > > > In '00install.out', I get: > > * installing *source* package 'pgirmess' ... > ** R > ** data > ** preparing package for lazy loading > ** help > *** installing help indices > ** building package indices ... > ** testing if installed package can be loaded Error in gzfile(file, > mode) : cannot open the connection > Calls: %in% -> match -> installed.packages -> saveRDS -> gzfile > In addition: Warning message: > In gzfile(file, mode) : > cannot open compressed file > 'U:\DOCUME~1\Admin\LOCALS~1\Temp\RtmpwWcmem/libloc_U%3a%2fDocuments%20and%20Settings%2fpgiraudo%2fMes%20documents%2fR%2fpgir_arch%2fpgirmess_arch%2fOn%20work%2fpgirmess.RcheckVersion,Priority,Depends,Imports,LinkingTo,Suggests,Enhances,OS_type,License,Archs,Built.rds', > probable reason 'No such file or directory' > Execution halted > ERROR: loading failed > * removing > 'U:/DOCUME~1/pgiraudo/MESDOC~1/R/PGIR_A~1/PGIRME~1/ONWORK~1/PGIRME~1.RCH/pgirmess' > > Any hint welcome ! I am stuck on that. > > Patrick
Seemingly Similar Threads
- LaTex error when creating DVI version when compiling package
- gamlss and glm binomial family
- hcc not found, rcmd build
- pgirmess install under linux mint 14 / a solution
- Multiple Comparisons-Kruskal-Wallis-Test: kruskal{agricolae} and kruskalmc{pgirmess} don't yield the same results although they should do (?)