statdivlab / corncob

Count Regression for Correlated Observations with the Beta-binomial
102 stars 22 forks source link

aes_string() change to aes() #162

Closed MariaAVC closed 10 months ago

MariaAVC commented 10 months ago

Changed line 124 on R/plot_bbdml.R from

aes_map <- ggplot2::aes_string(x = "order", y = "RA", colour = color, shape = shape, labs = "samples")

to its aes() version

aes_map <- ggplot2::aes(x = .data[["order"]], y = .data[["RA"]], colour = color, shape = shape, labs = "samples")

in order to address the warning on test_s3() regarding aes_string() deprecated in ggplot2

This addresses issue #158