You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed cardx from CRAN and was trying to run the first example in the README but got an error:
library(cardx)
#> Warning: package 'cardx' was built under R version 4.3.3
cards::ADSL|># keep two treatment arms for the t-test calculationdplyr::filter(ARM%in% c("Placebo", "Xanomeline High Dose")) |>cardx:::ard_stats_t_test(by=ARM, variable=AGE)
#> Error in eval(expr, envir, enclos): object 'ard_stats_t_test' not found
It works great with the dev version of cardx though! Maybe worth mentioning in the README (I'm happy to submit a PR if you'd like) or maybe just leave if you're planning on a new CRAN release soon anyway - just let me know what you'd prefer :)
We released a very early of cardx onto CRAN, because I knew we were going to do something that may be considered a gray area as far as CRAN rules goes and I didn't want the initial CRAN review of the package force us to remove it.
We're technically accessing the internals of a package with when we grab the default argument values for S3 methods like t.test.formula(). Only the generic is exported and the methods are "internal".
What happened?
Hello :)
I installed cardx from CRAN and was trying to run the first example in the README but got an error:
Created on 2024-06-21 with reprex v2.1.0
It works great with the dev version of cardx though! Maybe worth mentioning in the README (I'm happy to submit a PR if you'd like) or maybe just leave if you're planning on a new CRAN release soon anyway - just let me know what you'd prefer :)
sessionInfo()
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: