\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,1.8) node[ocirc, label=left:$+$]{} to[short, i=$I_\mathrm{in}$] (0.8,1.8) to[empty diode, l=$D_1$] (2.4,1.8) -- (3.6,1.8) node[ocirc, label=right:$+$]{};
\draw (2.4,1.8) node[circ]{} to[R, l=$R_1$] (2.4,0) node[circ]{};
\draw (0,0) node[ocirc, label=left:$-$]{} -- (3.6,0) node[ocirc, label=right:$-$]{};
\node at (-0.3,0.9) {$V_\mathrm{in}$}; \node at (4.1,0.9) {$V_\mathrm{out}$};
\end{circuitikz}
\end{document}
