Is there a base R function that lerps between two numbers?

i.e. a function that would let you ask 'whats the number **50% between 10 and 20** and would return **15**

Basically an inbuilt version of this:

```
lerp <- function(num1, num2, fraction){
(num2-num1)*fraction+num1
}
```