Hola,

Queria saber se alguién podia darme alguna idea de cómo resolver este
mensaje de error que aparece cuando ruedo el comando

R CMD check en mi paquete

 Error in find.package(package, lib.loc) :
  there is no package called ‘MASS’
Calls: <Anonymous> -> lapply -> FUN -> find.package
Execution halted

He leido algunos post sobre el asunto que dicen de resolver el problema
declarando el camino de la biblioteca usando el comando R_LIB=" ", el
problema es que no sé cómo hacer eso. Dónde declaro el camino? en el
terminal o tengo que hacerlo en el propio código de la función?

Gracias por cualquier ayuda o información que me pueda ayudar a resolver el
problema,

Marlene

P.S: Rodando R CMD check en Ubuntu 11.10 tengo la siguiente salida:

* using R version 2.14.1 (2011-12-22)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘SCperf/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘SCperf’ version ‘1.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking whether package ‘SCperf’ can be installed ... OK
* checking installed package size ... OK
* 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 whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ...
OK
* checking whether the namespace 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 ... NOTE
Error in loadNamespace(name) : there is no package called ‘codetools’
Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne ->
<Anonymous>
Execution halted
* checking Rd files ... WARNING
Error : WW.Rd: non-ASCII input and no declared encoding

problem found in ‘WW.Rd’
* checking Rd metadata ... OK
* checking Rd cross-references ... WARNING
Error in find.package(package, lib.loc) :
  there is no package called ‘MASS’
Calls: <Anonymous> -> lapply -> FUN -> find.package
Execution halted
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
* checking PDF version of manual ... OK

	[[alternative HTML version deleted]]

