Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
VLucet committed Feb 14, 2022
1 parent 8abb27d commit 53292dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/spm_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ setMethod(f = "spm_smooth",

# Check that response is a density, issue an info if not
response <- spm_response(sspm_formula)
if (!checkmate::test_choice(response, spm_density_vars(sspm_object@density))){
if (!checkmate::test_choice(response, spm_density_vars(sspm_object))){
cli::cli_alert_info(
paste0(" Note: response variable ", cli::col_br_red(response),
" is NOT a biomass density variable"))
Expand Down

0 comments on commit 53292dc

Please sign in to comment.