- Updated snapshot tests for yaml12 0.2.0's revised output formatting. This does not change Rapp's behavior.
- Rapp now checks parsed command line values against declared option
types instead of coercing them. Integer options require integer
values, so values like
10.2ortrueproduce an error; float options still accept integer values (#18). - Rapp now parses YAML with YAML 1.2 semantics. Bare
yesandnonon-Boolean option values are strings, not Boolean aliases. Boolean options still accept YAML 1.1 aliases such asyes,no,y,n,on, andofffor backward compatibility. - Command switches are now required by default. If a command is omitted,
Rapp prints scoped help. Add
#| required: falseabove theswitch()to allow running without a command (#21). - Boolean switch help now shows the command-line form that changes the
default:
foo <- FALSEshows--foo,foo <- TRUEshows--no-foo, andfoo <- NAshows--foo / --no-foo. Passing values remains more permissive: switches accept explicit values such as--foo=falseand--foo false. See the Boolean option behavior table for the full set of accepted forms (#28).
#| examples:annotations now add usage examples to--helpoutput (#23).- Boolean switches now do the expected thing for most users without
additional configuration. For exceptional needs,
#| negative_alias: falsedisables generated--no-*command-line aliases while keeping the positive alias and explicit value forms such as--foo=false(#24, #28).
- Launcher front matter now accepts documented kebab-case option names,
such as
default-packages(#19). - On Windows, tests now preserve the user
PATH(#26). - Rapp can now be installed from source on R versions before 4.0.0 (#30).
- The installation docs now clarify that package apps are discovered as
exec/*.R, installed without the.Rextension by default, and installed toRAPP_BIN_DIRwhen set (#20). install_pkg_cli_apps()now adds the default~/.local/bininstall directory to the user's zsh profile on macOS when it is not already onPATH. It respectsZDOTDIRand warns if the profile cannot be updated (#35).- On Windows,
install_pkg_cli_apps()no longer replaces the current processPATHwith only the user-levelPathafter adding launcher directories. It now avoids duplicate entries, uses a short path when available, and reports too-long user-levelPathvalues with a remediation hint (#38).
- Positional arguments are now required by default. Use
#| required: falseto make an argument optional (#13).
#| shortnow adds a short option alias like-n(#4, #5).c()andlist()assignments now declare repeatable options.install_pkg_cli_apps()installs launchers forRappandRscriptapps in a package'sexec/directory on the user'sPATH(#3, #7).switch()blocks can now declare commands in Rapp applications (#8, #11).
- The default
--helpoutput is updated. - Rapp gains a package logo.
- Rapp is now part of the
r-liborganization on GitHub. - Rapp now includes
NEWS.mdto track changes to the package.
- Initial release.