Skip to content

Commit 36e6a7b

Browse files
authored
fix check issue related to substitution in ns::fun
1 parent 59692e7 commit 36e6a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/datatable-programming.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ DT[, sqrt(Sepal.Length)]
225225
```
226226

227227
If function name to be substituted needs to be namespace-qualified then namespace and function name can be substituted as any other symbol in the expression:
228-
```{r substitute_fun3, result='hide'}
228+
```{r substitute_fun3, result='hide', eval=FALSE}
229229
DT[, ns::fun(Sepal.Length), env = list(ns="base", fun="sqrt"), verbose=TRUE]
230230
#Argument 'j' after substitute: base::sqrt(Sepal.Length)
231231
## DT[, base::sqrt(Sepal.Length)]

0 commit comments

Comments
 (0)