Skip to content

Commit

Permalink
reconciling cran-fixes with main
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinawlai committed Sep 19, 2024
1 parent 66232b7 commit c5ef4a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions R/autoplot.curve_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@
#' @return a [ggplot2::ggplot()] object
#' @export
#' @examples
#' \donttest{
#' library(dplyr)
#' library(ggplot2)
#' library(magrittr)
#'
#' curve = load_curve_params("https://osf.io/download/rtw5k/") %>%
#' filter(antigen_iso %in% c("HlyE_IgA", "HlyE_IgG")) %>%
#' slice(1:100, .by = antigen_iso) %>% # Reduce dataset for the purposes of this example

Check warning on line 20 in R/autoplot.curve_params.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/autoplot.curve_params.R,line=20,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 91 characters.
#' autoplot()
#'
#' curve
#'
autoplot.curve_params = function(
#'}
autoplot.curve_params <- function(
object,
antigen_isos = object$antigen_iso %>% unique(),
antigen_isos = unique(object$antigen_iso),
ncol = min(3, length(antigen_isos)),
...) {
split_data <- object %>%
Expand Down

0 comments on commit c5ef4a5

Please sign in to comment.