Usually not, R is dynamically typed, which can be a big advantage or a burden. Any object in R has a course type, and you can often force them (or drop them), but I donβt think what you are asking. You might want to look into the class system ( ?class ) for some approaches. But, as a rule, it is up to the write function to check the input values ββbefore using them. In addition, you may find this article interesting.
Give up ?browseEnv and maybe the code that uses it might be of interest to your project. Or RStudio ?
source share