paulgeeleher / pRRophetic

R package
21 stars 13 forks source link

Question about pRRopheticPredict #5

Open amingson opened 1 year ago

amingson commented 1 year ago

Hi, dear author, thank you for developing such a useful tool. however, when i run the function pRRopheticPredict, i met a warning "Warning message: In if (class(homData$test) == "numeric") { : the condition has length > 1 and only the first element will be used" i don't know whether it is a bug or not, i hope you can give me some suggestions. Thanks!

Jack123456chen commented 1 year ago

I have this problem too!

amingson commented 1 year ago

I have this problem too! You can open the source code and change if (class(homData$test) == "numeric") to if (class(homData$test) [1]== "numeric")

Jack123456chen commented 1 year ago

I solved it by your suggestion. Thank you very much!

flaviaerius commented 9 months ago

I have created a pull request to solve it!