commit | 30db027dcf2d538f694a15025bacf37840976509 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Fri Feb 19 13:02:29 2021 -0500 |
committer | Hao Zhu <haozhu233@gmail.com> | Fri Feb 19 13:02:29 2021 -0500 |
tree | d3cb8d4655d29fc6a457c1c5c0640013a02c7265 | |
parent | 2067cc2f250f6021cf39f852e2d963e569ad026f [diff] [blame] |
1.33 release
diff --git a/R/graphics_helpers.R b/R/graphics_helpers.R index b74d439..486dff6 100644 --- a/R/graphics_helpers.R +++ b/R/graphics_helpers.R
@@ -42,7 +42,7 @@ dots <- c(dots, list(width = width / res, height = height / res)) } filenames <- c("file", "filename") - found <- na.omit(match(frmls, filenames)) + found <- na.omit(match(frmls, filenames))[1] if (length(found)) { dots <- c(dots, setNames(filename, filenames[ found ])) } else {