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
Thanks, we see without installed suggested packages and the --run-donttest flag:
* checking examples ... [58s] ERROR
Running examples in 'dlookr-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.bins
> ### Title: Visualize Distribution for a "bins" object
> ### Aliases: plot.bins
>
> ### ** Examples
>
> # Generate data for the example
> ## No test:
> heartfailure2 <- heartfailure
> heartfailure2[sample(seq(NROW(heartfailure2)), 20), "platelets"] <- NA
>
> # Binning the platelets variable. default type argument is "quantile"
> bin <- binning(heartfailure2$platelets, nbins = 5)
> plot(bin)
>
> # Using another type arguments
> bin <- binning(heartfailure2$platelets, nbins = 5, type = "equal")
> plot(bin)
>
> bin <- binning(heartfailure2$platelets, nbins = 5, type = "pretty")
> plot(bin)
>
> bin <- binning(heartfailure2$platelets, nbins = 5, type = "kmeans")
Warning: Package "classInt" needed for this function to work. Please install it.
> plot(bin)
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Error in plot.window(...) : need finite 'xlim' values
Calls: plot -> plot.default -> localWindow -> plot.window
Execution halted
* checking re-building of vignette outputs ... [28s] ERROR
Error(s) in re-building vignettes:
--- re-building 'EDA.Rmd' using rmarkdown
Quitting from lines 625-641 [dbi_table] (EDA.Rmd)
Error: processing vignette 'EDA.Rmd' failed with diagnostics:
trying to use CRAN without setting a mirror
--- failed re-building 'EDA.Rmd'
--- re-building 'diagonosis.Rmd' using rmarkdown
Quitting from lines 534-550 [dbi_table] (diagonosis.Rmd)
Error: processing vignette 'diagonosis.Rmd' failed with diagnostics:
trying to use CRAN without setting a mirror
--- failed re-building 'diagonosis.Rmd'
--- re-building 'introduce.Rmd' using rmarkdown
--- finished re-building 'introduce.Rmd'
--- re-building 'transformation.Rmd' using rmarkdown
Quitting from lines 150-162 [imputate_na2] (transformation.Rmd)
Error: processing vignette 'transformation.Rmd' failed with diagnostics:
there is no package called 'ranger'
--- failed re-building 'transformation.Rmd'
SUMMARY: processing the following files failed:
'EDA.Rmd' 'diagonosis.Rmd' 'transformation.Rmd'
Error: Vignette re-building failed.
Execution halted
Please fix and resubmit.
Best,
Uwe Ligges
The text was updated successfully, but these errors were encountered:
The problem stems from the "Suggests" package. As CRAN's policies have gotten stricter, dlookr has become a bit more difficult to manage, because it uses a lot of 3rd-party packages.
I fixed the problematic chunk of code in the vignettes with eval=FALSE.
The text was updated successfully, but these errors were encountered: