testData/rename/renameFunctionUsageInRmd.after.rmd (25 lines of code) (raw):
```{r}
# @type x : numeric
# @type y : numeric
test_function_rmd <- function(x, y, z, d) {
print("This is test function")
barplot(x)
x + 1 + 1
z
}
z <- "dsds"
test_function_rmd(z, 2, 1, 1)
```
```{python}
def test_function():
return 42 + 42
```
```{r}
test_function_rmd(1, 2, 3, 4)
```
```{r}
function() {
test_function <- 42
test_function + 42
}
```