Ah no, what I said above is incomplete. So $f$ and $g$ are constructed from two coordinate patches $U$ and $V$. I wanna work on $U\cap V$ with the coordinates of $V$, so in these coordinates $g$ just is projection on the last coordinate, i.e. $g=x_n$ (using sub- instead of superscripts now).
then, the local expression reads $\frac{f(x)}{g(x)}=\frac{\partial f}{\partial x_n}(0)+\frac{R(x)}{x_n}$. it's actually still not clear this can be extended to $x_n=0$, though. Taylor doesn't give me a uniform estimate on the remainder, hmm.