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