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

CRAN submit error 2 #109

Closed
choonghyunryu opened this issue Dec 18, 2023 · 1 comment
Closed

CRAN submit error 2 #109

choonghyunryu opened this issue Dec 18, 2023 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@choonghyunryu
Copy link
Owner

  • another ISSUE for submit CRAN
Thanks, we see with --run-donttest  still

Running examples in ‘dlookr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.transform
> ### Title: Visualize Information for an "transform" Object
> ### Aliases: plot.transform
>
> ### ** Examples
>
> ## No test:
> # Standardization ------------------------------
> creatinine_minmax <- transform(heartfailure$creatinine, method =
"minmax")
> creatinine_minmax
Error in x$name : $ operator is invalid for atomic vectors
Calls: <Anonymous> -> print.transform -> cat
Execution halted

Please no more submissions in 2023 and learn to check with --run-donttest yourself. Apparently you never check it although we wrote there were issues.

Best,
Uwe Ligges
@choonghyunryu choonghyunryu self-assigned this Dec 19, 2023
@choonghyunryu choonghyunryu added the invalid This doesn't seem right label Dec 19, 2023
@choonghyunryu
Copy link
Owner Author

This error did not occur before, but recent CRAN tests show it on several platforms.
This error did not happen in my Mac environment.

Today, while testing the dlookr package on rhub, I fixed the error in the following way.

  • Define an additional function print.transform()
  • This function converts the transform class to a numeric vector and prints() it.

The fix was tested on several platforms, and the error did not occur on the "Fedora Linux, R-devel, GCC (fedora-gcc-devel)" platform where the error occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant