powered by
Add this to the beginning of every verbal expression chain. This simply returns an empty character vector so that the next step in the chain can provide a value without explicitly writing value = "blah".
value = "blah"
rx()
# NOT RUN { rx() # this rx() %>% rx_find("cat") %>% rx_anything() %>% rx_find("dog") # instead of rx_find(value = "cat") %>% rx_anything() %>% rx_find("dog") # }
Run the code above in your browser using DataLab