VirFinder icon indicating copy to clipboard operation
VirFinder copied to clipboard

Error: 'rBind' is defunct,Since R version 3.2.0, base's rbind() should work fine with S4 objects

Open zhongshengbin269 opened this issue 2 years ago • 1 comments

hello, I encountered the following questionsproblem in Windows 10, version R 3.6.3.Then use virfinder to switch to MacOS user R version 4.2.0 and the problem is not resolved.

**> VF.trainModUser <- VF.train.user(trainFaFileHost, trainFaFileVirus, userModDir,

  •                              userModName, w, equalSize=TRUE)
    

Error: 'rBind' is defunct. Since R version 3.2.0, base's rbind() should work fine with S4 objects** How should this kind of mistake be solved? Hope to get help, thank you

zhongshengbin269 avatar Jun 24 '22 07:06 zhongshengbin269

I have also encountered the same problem. I tried everything but it is not resolving. I saw a solution for this through monocle3.

trace('calculateLW', edit = T, where = asNamespace("monocle3"))

in line 143, change Matrix::rBind to rbind but it was by default set to rbind, so the the error was not resolved.

Kindly help. Thank you. @jessieren @mlangill

pt0798 avatar Jan 03 '23 06:01 pt0798