Update C-interface.rmd

You seem to be checking the same variable and condition twice but providing a different error message.