For $\mathbf{x}\in \mathbb{R}^2$ and $\mathbf{r}\in S^1$ (here $S^1=\{\mathbf{r}\in \mathbb{R}^2: \|\mathbf{r}\|=1\}$), let us write $f'(\mathbf{x};\mathbf{r})=\infty$ if $\liminf\limits_{t\rightarrow 0}\frac{f(\mathbf{x}+t\mathbf{r})-f(\mathbf{x})}{t}=\infty$.
My question is the following: does there exist a (not necessarily measurable) function $f:\mathbb{R}^2\rightarrow \mathbb{R}$, such that for all $\mathbf{x}\in \mathbb{R}^2$, the set $$\{\mathbf{r}\in S^1: f'(\mathbf{x};\mathbf{r})=\infty\text{ or }f'(\mathbf{x};-\mathbf{r})=\infty\}$$ has full measure as a subset of $S^1$? Here $S^1$ is equipped with the "arc length" measure.
Can a function $f:\mathbb{R} \rightarrow \mathbb{R}$ be "infinitely steep" on a set with non-zero Lebesgue outer measure? tells us that on any line parallell to $\mathbf{r}$, the set of points $\mathbf{x}$ for which $f'(\mathbf{x};\mathbf{r})=\infty\text{ or }f'(\mathbf{x};-\mathbf{r})=\infty$, is a null set. One is then tempted to argue that by Tonelli's, the set
$$A=\{(\mathbf{r}, \mathbf{x})\in S^1\times \mathbb{R}^2: f'(\mathbf{x};\mathbf{r})=\infty\text{ or }f'(\mathbf{x};-\mathbf{r})=\infty\}$$ is a null set. On the other hand, Tonelli's seems to imply that when $\{\mathbf{r}\in S^1: f'(\mathbf{x};\mathbf{r})=\infty\text{ or }f'(\mathbf{x};-\mathbf{r})=\infty\}$ has full measure for all $\mathbf{x}\in \mathbb{R}^2$, then $A$ has full measure, so there appears to be a contradiction. However, none of these applications of Tonelli are valid, since Tonelli only works when one integrates over a measurable set and a set may be non-measurable even if all of its sections are null sets. Indeed, there are non-measurable subsets of $\mathbb{R}^2$ for which all sections are singletons (see https://mathoverflow.net/questions/89375/sections-measure-zero-imply-set-is-measure-zero).
All of this is to say, I cannot straightforwardly deduce from the "$1$-dimensional case", i.e. the first link, that that there cannot exist a function with the properties as in my question. My hope is that I have not overlooked some obvious argument here and that either the answer to my question is negative for some "deeper" reason, or, even better, that the answer is affirmative!