The "measurements" package should be installed and loaded. My first unit conversion (copied below) worked just fine:
temp_f <- 100
temp_c <- F_to_C(temp_f)
print(paste(temp_f, "ºF is equivalent to", temp_c, "ºC"))
However, the following conversion will not run:
dist_meters <- 100
dist_feet <- m_to_ft(dist_meters)
I keep getting the error message:
"Error in m_to_ft(dist_m) : could not find function "m_to_ft""
As far as I can tell I'm writing the code correctly and the package seems to be installed and loaded correctly since it worked on the first conversion.
I have tried changing the capitalization (I had to do this with the first conversion before it ran correctly).