Nothing
#' srr_stats
#'
#' @srrstatsVerbose TRUE
# nolint start
#' @srrstats {G1.2} The package includes a Roadmap in the CONTRIBUTING.md file.
#' @srrstats {G1.4} The package uses [`roxygen2`](https://roxygen2.r-lib.org/)
#' to document all functions.
#' @srrstats {G1.4a} All internal functions are documented with
#' [`roxygen2`](https://roxygen2.r-lib.org/) and use the `@noRd` tag.
#' @srrstats {G2.0, G2.0a, G2.1, G2.1a} Assertions are implemented throughout
#' the package for functions which require single- or multi-valued input of a
#' certain type using the `checkmate` package. It is made explicit in the
#' descriptions of such parameters that they should be of the required length.
#' @srrstats {G2.2} Throughout the package, input validation is performed
#' using vector-specific assertions from the `checkmate` package, such as
#' `assert_character()`, `assert_numeric()`, or the more general
#' `assert_vector()`. This ensures that parameters expected to be univariate
#' vectors are appropriately restricted, and multivariate input (such as
#' matrices, data frames, or lists) is prohibited.
#' @srrstats {G3.0} The package does not compare floating point numbers for
#' equality. All numeric equality comparisons are made between integers.
#' @srrstats {G5.2} Error and warning behaviour is fully tested.
#' @srrstats {G5.2a} Every message produced within R code by `stop()`,
#' `warning()`, and `message()` is unique.
#' @srrstats {G5.2b} For all messages, conditions triggering them are
#' demonstrated and the result are compared with expected values.
#'
#' @srrstats {SP1.0, SP1.1} The package description explicitly states that it
#' uses "two-dimensional spatial information [...] in a projected CRS."
#' Although elevation information from DEM is used in valley delineation
#' if `valley` is chosen for the initial guess of the river corridor, the
#' overall approach cannot be considered 3D, as all calculations performed
#' on vector data are carried out on `x` and `y` coordinates only.
#' @srrstats {SP2.0} The package only uses the modern `sf` and `SpatRaster`
#' classes to represent geospatial *vector* and *raster* data respectively.
#' @srrstats {SP2.1} The package only uses `sf` for representing and handling
#' geospatial vector data.
#' @srrstats {SP2.2} The output values of this package are of either class `sf`,
#' `SpatRaster` or `sfnetwork`, and thus are fully compatible with the
#' established `sf`, `terra` and `sfnetworks` packages, widely used in R
#' spatial analytical workflows.
#' @srrstats {SP2.3} The package caches spatial objects retrieved from external
#' services as RDS objects, but these are only for internal use and their
#' direct use is not recommended.
#' @srrstats {SP2.4, SP2.4a} By using `sf` >= 0.9, this package employs the
#' WKT system for CRS and ensures compliance with PROJ version 6+.
#' @srrstats {SP2.5} The package uses `sf` and `SpatRaster` classes for vector
#' and raster data, respectively, both of which contain metadata on coordinate
#' reference systems.
#' @srrstats {SP2.6, SP2.7} Spatial input classes are documented in function
#' documentation and validated throughout the package using
#' `checkmate::assert_*` functions to ensure input data conforms to expected
#' types and structures.
# nolint end
#' @noRd
NULL
#' NA_standards
#'
# Not applicable general software standards ---
#' @srrstatsNA {G1.5} There is no associated publication for this package yet,
#' and no performance claims are made.
#' @srrstatsNA {G1.6} As there are no alternative implementations, no
#' performance claims are made in this package.
#' @srrstatsNA {G2.4d, G2.4e, G2.5} This package does not make use of factors.
#' @srrstatsNA {G2.6} This package only accepts one-dimensional inputs
#' inheriting from base vector classes. Input types are strictly validated
#' with `checkmate`, and custom vector-like classes are not in the list of
#' accepted input classes. Therefore, this standard does not apply.
#' @srrstatsNA {G2.9} This package does not perform type conversions or
#' meta-data changes leading to information loss that would require issuing
#' diagnostic messages.
#' @srrstatsNA {G2.11, G2.12} This package does not utilize list columns or
#' columns with non-standard class attributes in `data.frame`-like objects.
#' @srrstatsNA {G2.14, G2.14a, G2.14b, G2.14c} These standards are not
#' applicable because `mean()` is used only within the internal function
#' `get_cd_char()` which does not provide a user interface for handling
#' missing data.
#' @srrstatsNA {G3.1, G3.1a} This package does not perform covariance
#' calculations.
#' @srrstatsNA {G5.3} This package does not return objects which explicitly
#' contain missing (`NA`) or undefined (`NaN`, `Inf`) values.
#' @srrstatsNA {G5.4b, G5.4c} This package implements a new method.
#' @srrstatsNA {G5.6b} The core algorithms of this package do not involve random
#' components.
#' @srrstatsNA {G5.7} The results of the core algorithm of this package are not
#' expected to return predictable trends for given changes in input data
#' properties.
#' @srrstatsNA {G5.8c} No tabular data where all fields or all columns can be NA
#' can be used as input in any of the function of this package.
#' @srrstatsNA {G5.9, G5.9a, G5.9b} The core algorithm and input data of this
#' package are deterministic, so noise susceptibility tests do not apply.
#' @srrstatsNA {G5.12} No special requirements are needed to run extended tests.
#'
# Not applicable spatial software standards ----
#' @srrstatsNA {SP2.0a, SP2.0b} This package does not implement any new classes
#' for spatial data.
#' @srrstatsNA {SP2.5a} This package does not implement new classes.
#' @srrstatsNA {SP3.0b} The package does not consider spatial neighbours in
#' irregular spaces.
#' @srrstatsNA {SP3.2} The package does not rely on sampling from input data.
#' @srrstatsNA {SP3.3} The package does not employ regression.
#' @srrstatsNA {SP3.5, SP3.6} The package does not implement any kind of
#' (supervised) machine learning.
#' @srrstatsNA {SP6.1a} The package relies on the [`sf`] package to
#' inform the user about any inaccuracies resulting from the application of
#' geoprocessing functions intended for applications in Cartesian space in
#' curvilinear space. Therefore no test is implemented here.
#' @srrstatsNA {SP6.1b} This package does not implement any functions
#' that yield equivalent accuracy for both rectilinear and curvilinear data.
#' All relevant functionality is limited to either Cartesian or
#' ellipsoidal coordinate systems, not both.
#' @srrstatsNA {SP5.0, SP5.1, SP5.2, SP5.3} The package does not return any
#' custom classes and thus does not implement a plot method nor does it offer
#' an ability to generate interactive visualisations. The returned
#' delineations can be used in static and interactive visualisation workflows
#' as any other spatial data.
#' @srrstatsNA {SP6.3, SP6.4} This package uses spatial neighbours only via the
#' `terra::costDist()` function. Therefore, the definition and weighting of
#' neighbours are managed by `terra`, and are not implemented or tested within
#' this package.
#' @srrstatsNA {SP6.5} The comparison between the results from the DBSCAN
#' clustering algorithm and a non-spatial clustering algorithm is not
#' relevant, as spatial proximity is the main criterion for clustering.
#' @srrstatsNA {SP6.6} This package does not implement spatial ML algorithms;
#' therefore, tests demonstrating the effects of sampling test and training
#' data from the same spatial region are not applicable.
#' @noRd
NULL
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.