0

I found this error when running a script on R studio:

Error in cell_limits(c(get_row(path, "outcome full name"), outcome_column), :
  length(ul) == 2L is not TRUE

How could I resolve it?

Thank you

I want to resolve this error on R studio

r2evans
  • 141,215
  • 6
  • 77
  • 149
  • 2
    Welcome to SO, Amira Messadi! Questions on SO (especially in R) do much better if they are reproducible and self-contained. By that I mean including attempted code (please be explicit about non-base packages), sample representative data (perhaps via `dput(head(x))` or building data programmatically (e.g., `data.frame(...)`), possibly stochastically), perhaps actual output (with verbatim errors/warnings) versus intended output. Refs: https://stackoverflow.com/q/5963269, [mcve], and https://stackoverflow.com/tags/r/info. – r2evans Aug 22 '23 at 21:50
  • More specifically, we don't know what packages you're using, what expression you used that triggered this error, nor what arguments you passed to it. (This might be `cellranger` and/or `readxlsb`, but I'm not sure.) – r2evans Aug 22 '23 at 21:52
  • I am using these libraries : library(meta) library(metafor) library(readxl) library(tibble) library(LaplacesDemon) library(dplyr) library("grid") – Amira Messadi Aug 22 '23 at 22:05
  • perhaps, I have an error in my excel file? what is the meaning of length(ul) == 2L is not TRUE? – Amira Messadi Aug 22 '23 at 22:07
  • it means that some object named `ul`, whether created by you or as an argument or object calc'd with functions you called, is supposed to be a vector of length 2 and is not. Having said all that, it can be anywhere, and not knowing how you triggered it ... there's not much we can do. – r2evans Aug 22 '23 at 23:17

0 Answers0