install_terra: Install the terra Package from the CRAN Archive
Description
This function installs the terra package at version 1.8-60 from the
CRAN archive.
Usage
install_terra(os = .Platform$OS.type)
Value
Invisibly returns NULL. The function is called for its side effect.
Arguments
os
The current operating system. Defaults to .Platform$OS.type.
Details
On Windows systems, the function verifies that Rtools is installed using
pkgbuild::has_build_tools(). If Rtools is missing, it displays a warning
and aborts the installation. The function then forces installation from source.