testData/rename/renameParameterUsageInRmd.rmd (21 lines of code) (raw):
```{r}
# @type x : numeric
# @type y : numeric
test_function <- function(x, y, z, d) {
print("This is test function")
barplot(x)
x<caret> + 1 + 1
z
}
z <- "dsds"
y <- x + x
```
```{python}
x = 10
def test_function(x):
return 42 + x
```
```{r}
x <- 10
y <- y * x
```