• using R version 4.0.0 alpha (2020-04-01 r78130)
  • using platform: x86_64-apple-darwin17.0 (64-bit)
  • using session charset: UTF-8
  • checking for file ‘roughrf/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘roughrf’ 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 for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘roughrf’ can be installed ... [4s/6s] OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over 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 loading without being on the library search path ... OK
  • checking 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 ... [4s/5s] NOTE
    mfix : m4m: no visible global function definition for ‘median’
    rrfa: no visible global function definition for ‘predict’
    rrfb: no visible global function definition for ‘predict’
    rrfc1: no visible global function definition for ‘predict’
    rrfc2: no visible global function definition for ‘predict’
    rrfc3: no visible global function definition for ‘predict’
    rrfc4: no visible global function definition for ‘predict’
    rrfc5 : regdat: no visible global function definition for ‘predict’
    rrfc5 : regdat: no visible global function definition for ‘glm’
    rrfc5: no visible global function definition for ‘predict’
    rrfc6: no visible global function definition for ‘predict’
    rrfc7: no visible global function definition for ‘predict’
    rrfd: no visible global function definition for ‘predict’
    rrfe : rdms: no visible global function definition for ‘rbinom’
    rrfe: no visible global function definition for ‘predict’
    Undefined global functions or variables:
      glm median predict rbinom
    Consider adding
      importFrom("stats", "glm", "median", "predict", "rbinom")
    to your NAMESPACE file.
  • checking Rd files ... OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • 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 ... ERROR
    Running examples in ‘roughrf-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: mfix
    > ### Title: Four single imputation methods
    > ### Aliases: mfix
    >
    > ### ** Examples
    >
    > dat=data.frame(continuous=c(1,2,3,4,5),categorical=c('a','a','a','a','b'))
    > dat[2,]=NA
    > dat
      continuous categorical
    1 1 a
    2 NA <NA>
    3 3 a
    4 4 a
    5 5 b
    > summary(dat)
       continuous categorical
     Min. :1.00 Length:5
     1st Qu.:2.50 Class :character
     Median :3.50 Mode :character
     Mean :3.25
     3rd Qu.:4.25
     Max. :5.00
     NA's :1
    > mfix(dat,1)[2,] #median/mode imputation
    Error in mmfix.data.frame(x) : mfix only works for numeric or factor
    Calls: mfix -> mmfix -> mmfix.data.frame
    Execution halted
  • checking PDF version of manual ... OK
  • DONE
    Status: 1 ERROR, 1 NOTE