A warning message
In has_crop_tools() :
Tool(s) not installed or not in PATH: ghostcript
-> As a result, figure cropping will be disabled.
appears when a simple R Markdown document is knitted to PDF:
---
output: pdf_document
---

The bar.png image is embedded into PDF all right, but it looks like there is a spelling error in called ghostcript command (shouldn't it be ghostscript after the name of Ghostscript interpreter?). How to properly address this warning message?
My xfun::session_info() output:
R version 4.0.4 (2021-02-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042), RStudio 1.4.1103
Locale:
LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
LC_NUMERIC=C LC_TIME=English_United States.1252
Package version:
base64enc_0.1.3 compiler_4.0.4 digest_0.6.27 evaluate_0.14 glue_1.4.2 graphics_4.0.4 grDevices_4.0.4
highr_0.8 htmltools_0.5.0 jsonlite_1.7.1 knitr_1.31 magrittr_2.0.1 markdown_1.1 methods_4.0.4
mime_0.9 rlang_0.4.10 rmarkdown_2.7 stats_4.0.4 stringi_1.5.3 stringr_1.4.0 tinytex_0.27
tools_4.0.4 utils_4.0.4 xfun_0.19 yaml_2.2.1