Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Error in unit(xticks$x, "native"): 'x' and 'units' must have length > 0 #928

Closed
Yuri05 opened this issue Sep 21, 2022 · 3 comments
Closed

Comments

@Yuri05
Copy link
Member

Yuri05 commented Sep 21, 2022

When executing the qualification plan attached, the error below comes:
4mail_1.zip

i Info	Starting run of Plot PK Ratio task
Error: Error in unit(xticks$x, "native"): 'x' and 'units' must have length > 0
     x
  1. +-base::source("Workflow.R")
  2. | +-base::withVisible(eval(ei, envir))
  3. | \-base::eval(ei, envir)
  4. |   \-base::eval(ei, envir)
  5. \-global createQualificationReport(...) at Workflow.R:166:0
  6.   \-workflow$runWorkflow() at Workflow.R:155:6
  7.     \-base::tryCatch(...)
  8.       \-base (local) tryCatchList(expr, classes, parentenv, handlers)
  9.         \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 10.           \-value[[3L]](cond)
 11.             \-ospsuite.reportingengine:::logErrorThenStop(e)
 12.               \-base::stop(as.character(message), call. = FALSE)

It looks like a ggplot bug which however was fixed in 3.3.3 (and the error occurs with 3.3.6).
The only workaround I found so far: change X-axis scaling from Log to Lin.

Any idea how to fix?

@Yuri05
Copy link
Member Author

Yuri05 commented Sep 21, 2022

@TWendl FYI

@pchelle
Copy link
Collaborator

pchelle commented Oct 19, 2022

This should be fixed by tlf PR #382

@Yuri05
Copy link
Member Author

Yuri05 commented Oct 19, 2022

ok, closing then

@Yuri05 Yuri05 closed this as completed Oct 19, 2022
@Yuri05 Yuri05 moved this to Verified in Version 2.1 / 2.2 Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Verified
Development

No branches or pull requests

2 participants