Left panel: average $\pt$-differential $R_{\rm pPb}$ of prompt $\Dzero$, $\Dplus$, and $\mathrm{D}^*$ , and non-prompt $\Dzero$ and $\Dplus$ mesons. Right panel: $\pt$-differential $\RpPb$ of prompt and non-prompt $\Lambda^{+}_{\rm c}$ baryons. The vertical bars and empty boxes represent the statistical and systematic uncertainties, respectively. The black-filled box at $\RpPb = 1$ represents the normalisation systematic uncertainty.