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