Error Building RCall

I noticed that I could not use the RCall package properly. When I run Pkg.build(“RCall”), I got the error message:

ERROR: LoadError: R cannot be found. Set the “R_HOME” environment variable to re-run Pkg.build(“RCall”).

I am running Julia Version 1.1.0 on Fedora 30.

This problem makes me unable to wrap Julia code in R Markdown. Is there anything similar to R Markdown in Julia?