tidymodels / tidymodels/embed

step_umap crashing Rstudio

Open
#135 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug reprex
Dominant language
R
Stars
146
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Hi Guys,
1- Rstudio is crashing after using "step_umap". I'm getting "R Session Aborted, R encountered a fatal error..."
Code:

library(recipes)
library(dplyr)
library(ggplot2)
library(embed)

recipe(Species ~ ., data = iris) %>%
step_center(all_numeric_predictors()) %>%
step_scale(all_numeric_predictors()) %>%
step_umap(all_numeric_predictors(), num_comp = 2) %>%
prep(training = iris)

2- step_pls is not working (step_pls() failed: Error in loadNamespace(x) : there is no package called ‘mixOmics’) where mixOmics is not available any more.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied iris recipe in RStudio, focusing separately on step_umap and step_pls. Inspect the entry points for those steps and how the mixOmics dependency is loaded. Done means both reported failures are understood and the affected workflows have verified behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.