diff --git a/R/nix_build.R b/R/nix_build.R index 8edcaf89..3c24c9e2 100644 --- a/R/nix_build.R +++ b/R/nix_build.R @@ -24,7 +24,7 @@ #' } nix_build <- function(project_path = ".", message_type = c("simple", "quiet", "verbose")) { - message_type <- match.arg(message_type, + message_type <- match.arg(message_type, choices = c("simple", "quiet", "verbose") ) # if nix store is not PATH variable; e.g. on macOS (system's) RStudio