Okay. I find it really important with multi-variable calculus to key an eye on what everything is is function of. Functions can be functions of one variable, two variables or vectors and be real or vector valued. So:
In this case, U is real-valued function of two variables (R and t). So, it has partial derivatives wrt R and t.
f, on the other hand, is an ordinary real valued function of a single variable. So, f' and f'' are also ordinary real-valued functions. These are well-defined functions (if f is twice differentiable).
And, g is the specific function of two variables: g(t, R) = t - R√με
Now, one form of the chain rule is:
\frac{\partial{U(t, R)}}{\partial t} = f'(g(t, R)).\frac{\partial{g(t, R)}}{\partial t}
That's the one that's relevant here. It's probably worth taking time to fully understand this.
For example, if f(x) = sin(x), then f'(x) = cos(x) etc.
And, if U(r, R) = sin(t^2 - R^2) \ with \ g(t, R) = t^2 - R^2, then:
\frac{\partial{U(t, R)}}{\partial t} = f'(g(t, R)).\frac{\partial{g(t, R)}}{\partial t} = cos(t^2 - R^2).(2t)