From f2fe89ff9398d6fa8af56ef47ec08ff3cb8c1d05 Mon Sep 17 00:00:00 2001 From: be-marc Date: Sun, 3 Nov 2024 10:46:42 +0100 Subject: [PATCH] docs: reference to possible column roles --- R/Task.R | 1 + man/Task.Rd | 1 + 2 files changed, 2 insertions(+) diff --git a/R/Task.R b/R/Task.R index 361e85499..c0bc73fd5 100644 --- a/R/Task.R +++ b/R/Task.R @@ -657,6 +657,7 @@ Task = R6Class("Task", #' @description #' Modifies the roles in `$col_roles` **in-place**. + #' See `$col_roles` for a list of possible roles. #' #' @param cols (`character()`)\cr #' Column names for which to change the roles for. diff --git a/man/Task.Rd b/man/Task.Rd index 6bc48304f..bfa5279a8 100644 --- a/man/Task.Rd +++ b/man/Task.Rd @@ -758,6 +758,7 @@ the object in its previous state. \if{latex}{\out{\hypertarget{method-Task-set_col_roles}{}}} \subsection{Method \code{set_col_roles()}}{ Modifies the roles in \verb{$col_roles} \strong{in-place}. +See \verb{$col_roles} for a list of possible roles. \subsection{Usage}{ \if{html}{\out{
}}\preformatted{Task$set_col_roles(cols, roles = NULL, add_to = NULL, remove_from = NULL)}\if{html}{\out{
}} }