cmdfun icon indicating copy to clipboard operation
cmdfun copied to clipboard

Framework for building R interfaces to shell commands

Results 13 cmdfun issues
Sort by recently updated
recently updated
newest added

Solution: ``` x % cmd_ui_file_exists(), silent = TRUE) if (class(x) == "try-error") { # if block below is the addition, make the message a little nicer, but this is the...

bug

Because cmd_is_installed calls `util = TRUE`, if no utils, get error. This really highlights how this is a bad design choice to begin with #22. ``` my_fun

bug

These are useful helpers for a specific case when something is named. `cmd_list_drop/keep` is a useful helper when case is generic, but specificity can be good sometimes. In fact, I...

enhancement

This will avoid getting "" if unset, instead value will be NA.

bug

### Issue v1.0.1 release has poor function documentation & needs an overhaul. Go through each function & write good docs, ya dingus! ### Of particular note - [ ] `cmd_output_expect`...

documentation

Currently `list_index_named_values` will throw a warning & ignore any `named_values` set to NA. This it to prevent subsetting to NAs. I could do better here and fix this to work...

enhancement

These utilities can be used to check for things other than "installs" like API keys, etc. The function names should reflect this. `cmd_install_is_valid` -> `cmd_path_is_valid` `cmd_install_check` -> `cmd_path_check` (change message...

enhancement

example: `shellCut("hello_world", f = 1, d = "_ && echo test")` are there any instances where shell programs use what I call illegal characters for functionality following flags? Could "sanitizing"...

#### reprex see previous version of `cmd_path_handle` & read comments. When passing a variable that did double assignment, would evaluate to internal R assignment function which passes the length check....

bug
documentation