Skip to content

docs: use rlang::is_interactive(), override for pkgdown website #28

docs: use rlang::is_interactive(), override for pkgdown website

docs: use rlang::is_interactive(), override for pkgdown website #28

Triggered via pull request November 12, 2024 11:50
@maellemaelle
synchronize #180
interactive
Status Failure
Total duration 36m 18s
Artifacts

lint-changed-files.yaml

on: pull_request
lint-changed-files
36m 8s
lint-changed-files
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
lint-changed-files
Process completed with exit code 31.
lint-changed-files: R/info.R#L17
file=R/info.R,line=17,col=43,[unnecessary_lambda_linter] Pass get_abstract_null directly as a symbol to map_chr() instead of wrapping it in an unnecessary anonymous function. For example, prefer purrr::map(DF, sum) to purrr::map(DF, ~sum(.x)).
lint-changed-files: R/info.R#L68
file=R/info.R,line=68,col=7,[unnecessary_lambda_linter] Pass get_abstract_null directly as a symbol to map_chr() instead of wrapping it in an unnecessary anonymous function. For example, prefer purrr::map(DF, sum) to purrr::map(DF, ~sum(.x)).
lint-changed-files: R/layers.R#L163
file=R/layers.R,line=163,col=7,[implicit_assignment_linter] Avoid implicit assignments in function calls. For example, instead of `if (x <- 1L) { ... }`, write `x <- 1L; if (x) { ... }`.