* using log directory 'd:/Rcompile/CRANpkg/local/4.0/PhageCocktail.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'PhageCocktail/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PhageCocktail' version '1.0.0' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'PhageCocktail' can be installed ... 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 use of S3 registration ... 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 ... [15s] OK * 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 ... [9s] ERROR Running examples in 'PhageCocktail-Ex.R' failed The error most likely occurred in: > ### Name: PhageCocktail > ### Title: Design of the Best Phage Cocktail > ### Aliases: PhageCocktail > > ### ** Examples > > library(readxl) > x<-system.file("extdata","Sajben-Nagy.xlsx",package="PhageCocktail",mustWork=TRUE) > > > PhageCocktail(x,"ExhaustiveSearch") New names: * `` -> `...1` * `` -> `...2` * `` -> `...3` * `` -> `...4` * `` -> `...5` * `` -> `...6` * `` -> `...7` * `` -> `...8` * `` -> `...9` * `` -> `...10` * `` -> `...11` * `` -> `...12` * `` -> `...13` * `` -> `...14` * `` -> `...15` * `` -> `...16` * `` -> `...17` $file [1] "D:/temp/RtmpYTfS6J/RLIBS_1ba0c38c13257/PhageCocktail/extdata/Sajben-Nagy.xlsx" $method [1] "ExhaustiveSearch" $maxCocktailSize [1] "2" $allBacteriaLysed [1] "TRUE" $Result $Result$Size2 [1] "Sajben-NagyP3" "Sajben-NagyP10" "18" $Result$Size1 [1] "Sajben-NagyP3" "16" $BacteriaLysed $BacteriaLysed$Size2 [1] "Sajben-NagyB1" "Sajben-NagyB2" "Sajben-NagyB3" "Sajben-NagyB4" [5] "Sajben-NagyB5" "Sajben-NagyB6" "Sajben-NagyB10" "Sajben-NagyB11" [9] "Sajben-NagyB13" "Sajben-NagyB15" "Sajben-NagyB16" "Sajben-NagyB18" [13] "Sajben-NagyB19" "Sajben-NagyB23" "Sajben-NagyB24" "Sajben-NagyB30" [17] "Sajben-NagyB31" "Sajben-NagyB32" $BacteriaLysed$Size1 [1] "Sajben-NagyB2" "Sajben-NagyB3" "Sajben-NagyB4" "Sajben-NagyB5" [5] "Sajben-NagyB6" "Sajben-NagyB10" "Sajben-NagyB11" "Sajben-NagyB13" [9] "Sajben-NagyB15" "Sajben-NagyB16" "Sajben-NagyB19" "Sajben-NagyB23" [13] "Sajben-NagyB24" "Sajben-NagyB30" "Sajben-NagyB31" "Sajben-NagyB32" $non_usefulPhages [1] "All the phages are useful (all of them lyse some bacterium)" $non_lysedBacteria [1] "Sajben-NagyB34" "Sajben-NagyB33" "Sajben-NagyB29" "Sajben-NagyB28" [5] "Sajben-NagyB27" "Sajben-NagyB26" "Sajben-NagyB25" "Sajben-NagyB22" [9] "Sajben-NagyB21" "Sajben-NagyB20" "Sajben-NagyB17" "Sajben-NagyB14" [13] "Sajben-NagyB12" "Sajben-NagyB9" "Sajben-NagyB8" "Sajben-NagyB7" > > PhageCocktail(x,"ExhaustivePhi") New names: * `` -> `...1` * `` -> `...2` * `` -> `...3` * `` -> `...4` * `` -> `...5` * `` -> `...6` * `` -> `...7` * `` -> `...8` * `` -> `...9` * `` -> `...10` * `` -> `...11` * `` -> `...12` * `` -> `...13` * `` -> `...14` * `` -> `...15` * `` -> `...16` * `` -> `...17` Error in if (MaxPhage < Phi) { : argument is of length zero Calls: PhageCocktail -> ExhaustivePhi Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR