SCM

R Development Page

BayesFactors.gibi log file (check_x86_64_linux)

Tue Apr  3 20:04:56 2012: Checking package BayesFactors.gibi (SVN revision 91) ...
* using log directory '/mnt/building/build_2012-04-03-01-52/RF_PKG_CHECK/PKGS/BayesFactors.gibi.Rcheck'
* using R version 2.15.0 (2012-03-30)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: ASCII
* checking for file 'BayesFactors.gibi/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'BayesFactors.gibi' version '0.1'
* checking CRAN incoming feasibility ... NOTE
New submission
* 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 'BayesFactors.gibi' 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 ... NOTE
Non-standard license specification:
  GPL2
Standardizable: TRUE
Standardized license specification:
  GPL-2
* 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 ... WARNING
Loading required package: BayesFactorPCL
Loading required package: coda
Loading required package: lattice
Loading required package: mvtnorm
Error : .onLoad failed in loadNamespace() for 'BayesFactors.gibi', details:
  call: fun(libname, pkgname)
  error: could not find function "installed.packages"
Error: package/namespace load failed for 'BayesFactors.gibi'
Execution halted

It looks like this package (or one of its dependent packages) has an
unstated dependence on a standard package.  All dependencies must be
declared in DESCRIPTION.
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
* checking whether the package can be unloaded cleanly ... WARNING
Error : .onLoad failed in loadNamespace() for 'BayesFactors.gibi', details:
  call: fun(libname, pkgname)
  error: could not find function "installed.packages"
Error: package/namespace load failed for 'BayesFactors.gibi'
Execution halted
* checking whether the namespace can be loaded with stated dependencies ... WARNING
Error: .onLoad failed in loadNamespace() for 'BayesFactors.gibi', details:
  call: fun(libname, pkgname)
  error: could not find function "installed.packages"
Execution halted

A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.

Probably some imports need to be declared in the NAMESPACE file.
* checking whether the namespace can be unloaded cleanly ... OK
* checking for unstated dependencies in R code ... WARNING
Error: package/namespace load failed for 'BayesFactors.gibi'
Call sequence:
2: stop(gettextf("package/namespace load failed for %s", sQuote(package)), 
       call. = FALSE, domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE)
Execution halted
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
File 'BayesFactors.gibi/R/zzz.R':
  .onLoad calls:
    installed.packages()

Package startup functions should not call 'installed.packages'.
See section 'Good practice' in ?.onAttach.

Found the following possibly unsafe calls:
File 'R/zzz.R':
  found assignInNamespace(".pluginVersion",
    allPackages[which(allPackages[, 1] == pkgname), 3], pkgname)
  found assignInNamespace(".gibiVersion", 0.001, pkgname)
  found assignInNamespace(".pluginName", pkgname, pkgname)
analysisOneWay.old: missing arguments not allowed in calls to 'list'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.checkNumConvert'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.checkNumLevels'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.pluginEffectsList'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.checkPositive'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.pluginDeltaCheck'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.pluginCheckMCMC'
initialEnvironment.oneWay.old: no visible binding for global variable
  '.checkNonNegative'
* checking for missing documentation entries ... WARNING
Undocumented code objects:
  'analysisOneWay' 'analysisOneWay.old' 'analyzeModelList' 'check.temp'
  'create.description' 'create.effects' 'create.model' 'init'
  'initialEnvironment.oneWay' 'initialEnvironment.oneWay.old'
All user-level objects in a package should have documentation entries.
See the chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
* checking examples ... NONE
* checking PDF version of manual ... OK

WARNING: There were 5 warnings.
NOTE: There were 3 notes.
See
  '/mnt/building/build_2012-04-03-01-52/RF_PKG_CHECK/PKGS/BayesFactors.gibi.Rcheck/00check.log'
for details.

Run time: 20.19 seconds.

Additional Logs:   00install.out
Thanks to:
Vienna University of Economics and Business Powered By FusionForge