R/AAAoptional.R

Defines functions .require_recommender_package

.require_recommender_package <- function(package, method) {
  if (!requireNamespace(package, quietly = TRUE))
    stop(sprintf(
      "Recommender method '%s' requires package '%s'. Install it with install.packages('%s').",
      method, package, package
    ), call. = FALSE)
}

Try the recommenderlab package in your browser

Any scripts or data that you put into this service are public.

recommenderlab documentation built on Oct. 5, 2026, 9:08 a.m.