I had similar problems:
# `geom_smooth()` using method = 'gam' and formula 'y ~ s(x, bs = "cs")'
# Warning message:
# Computation failed in `stat_smooth()`:
# object 'C_crspl' not found
and
# Warning message:
# Computation failed in `stat_smooth()`:
# object 'C_magic' not found
geom_smooth(method="gam"). , mgcv 1.8-17. -, ggplot ( 2.2.1.9000) 1.8-16, . mgcv , .