Skip to contents

command 0.3.0

Variable-length file arguments

Command-line values

  • A named argument is split on the first =, so the value may itself contain =. An argument with an empty name, such as --=value, is an error.

Shell commands

  • extract_shell() and shell_script() leave a plain length-1 vector unchanged, and quote a path or value only when it contains a space or a character that is special to the shell. NULL is written as --name=NULL.
  • shell_script() rejects a quiet value that is not TRUE or FALSE.

Bug fixes

  • The message for a missing directory now says that the directory does not exist.

Documentation

  • Revised the package description and the help pages.

command 0.2.0

CRAN release: 2026-07-23

Dependence on ‘fs’ package (#8)

  • Removed dependence on fs package

Handling of empty strings (#6)

  • Empty command line values like --v= (from an undefined Make variable) are now an error unless the corresponding cmd_assign() argument is character
  • When an empty string is assigned, the message notes that the value is an empty string

Paths

DESCRIPTION and package help (#5)

  • Revised descriptions, and removed internal keyword from command-package.R.

renv (#7)

  • Added use_renv(), which activates a renv project at the start of scripts run with Rscript (which skips .Rprofile).
  • Added article “Using command with renv”

command 0.1.4

  • Added test coverage

command 0.1.3

CRAN release: 2025-11-22

Documentation

Bug fixes

command 0.1.2

CRAN release: 2025-10-16

  • Expanded description and provided options to turn off messages.

command 0.1.0

  • Initial CRAN submission.