could not find function "ggplot"

That error message is different, you have to install the missing dependency

install.packages("colorspace")

Also, there is some discrepancy here, you said that you have R 3.5.1 but the message says that you have installed ggplot2 under R 3.5.3, could you clarify?