8000 import rlang · Issue #20 · ropensci/geotargets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

import rlang #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
njtierney opened this issue Mar 13, 2024 · 0 comments · Fixed by #19
Closed

import rlang #20

njtierney opened this issue Mar 13, 2024 · 0 comments · Fixed by #19

Comments

@njtierney
< 8000 /path> Copy link
Collaborator
njtierney commented Mar 13, 2024

Targets uses {rlang} anyway, and there's some really useful things in there which I can imagine using immediately:

  • rlang::%||%`

Does:

function (x, y) 
{
    if (is_null(x)) 
        y
    else x
}
  • rlang::arg_match0: Nicer arg match printing error and refers to function being called in

Required for #19

brownag added a commit to brownag/geotargets that referenced this issue Mar 13, 2024
 - use `%||%` and `arg_match0() `in `tar_terra_rast()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant
0