disk documentation fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-08-21 16:52:09 +02:00
1 parent 952d16de33
commit d6676e9443
7 files changed
+15 -14

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ df <- data.frame(microorganism = "Escherichia coli",
df[, 2:5] <- lapply(df[, 2:5], as.disk)
str(df)
#' \donttest{
\donttest{
# transforming is easier with dplyr:
if (require("dplyr")) {
df \%>\% mutate(across(AMP:TOB, as.disk))