From 56ad78f3a7656f5c3357f3923f21b4d3f3c40e78 Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Wed, 27 Mar 2024 10:05:47 -0400 Subject: [PATCH] fix #308 --- NEWS.md | 2 +- R/util.R | 2 +- README.md | 4 ++-- _config.yml | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 _config.yml diff --git a/NEWS.md b/NEWS.md index 5193f13e..7049700c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,7 +20,7 @@ - Fixed file access issue when checking package on CRAN - Updated installed data file `system.file("extdata/ctrl.h5", "extdata/stim.h5")` to be of standard 10X H5 format - Updated `quantileNorm()` automatic reference selection according to #297 -- Other minor fixes +- Other minor fixes (including #308) ## rliger 2.0.0 diff --git a/R/util.R b/R/util.R index 1c52aa5e..1dbbff3a 100644 --- a/R/util.R +++ b/R/util.R @@ -387,7 +387,7 @@ cli_or <- function(x) cli::cli_vec(x, list("vec-last" = " or ")) call <- match.call(definition = sys.function(-1), call = sys.call(-1), envir = parent.frame(2)) callArgs <- rlang::call_args(call) - parentFuncName <- as.list(call)[[1]] + parentFuncName <- rlang::call_name(call) # This gives access to variable in the function operation environment p <- parent.frame() for (old in names(replace)) { diff --git a/README.md b/README.md index 8844057b..1f4a6db6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -R -codecov +R +codecov cran # LIGER (Linked Inference of Genomic Experimental Relationships) diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 2f7efbea..00000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-minimal \ No newline at end of file