mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@54dd332cd8 🚀
This commit is contained in:
parent
4cf4bd0499
commit
6d545337de
328 changed files with 12930 additions and 1662 deletions
32
reference/expression_string.md
Normal file
32
reference/expression_string.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Deparses expression as string, substitutes native pipe and adds assign
|
||||
|
||||
Deparses expression as string, substitutes native pipe and adds assign
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
expression_string(data, assign.str = "")
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- data:
|
||||
|
||||
expression
|
||||
|
||||
## Value
|
||||
|
||||
string
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
list(
|
||||
as.symbol(paste0("mtcars$", "mpg")),
|
||||
rlang::call2(.fn = "select", !!!list(c("cyl", "disp")), .ns = "dplyr"),
|
||||
rlang::call2(.fn = "default_parsing", .ns = "FreesearchR")
|
||||
) |>
|
||||
merge_expression() |>
|
||||
expression_string()
|
||||
#> [1] "mtcars$mpg|>\ndplyr::select(c('cyl','disp'))|>\nFreesearchR::default_parsing()"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue