GithubHelp home page GithubHelp logo

Pkgdown is failing about skimr HOT 8 CLOSED

elinw avatar elinw commented on June 18, 2024
Pkgdown is failing

from skimr.

Comments (8)

michaelquinn32 avatar michaelquinn32 commented on June 18, 2024 1

Fixed with the release of 2.1.4

from skimr.

maelle avatar maelle commented on June 18, 2024

👋 @elinw (and @michaelquinn32)!

Interesting 😅 I see r-lib/pkgdown#677

Does the one_skim_df have a print method? I'll try to write a reprex for downlit. 🤔

from skimr.

maelle avatar maelle commented on June 18, 2024

A reprex would be this code

code <- "# Compare
iris %>%
  skim() %>%
  dplyr::select(n_missing)

iris %>%
  skim() %>%
  focus(n_missing)

# This is equivalent to
iris %>%
  skim() %>%
  dplyr::select(skim_variable, skim_type, n_missing)"

downlit::evaluate_and_highlight(code)

from skimr.

maelle avatar maelle commented on June 18, 2024
code <- "
library(skimr)
# Compare
iris %>%
  skim() %>%
  dplyr::select(n_missing)

iris %>%
  skim() %>%
  focus(n_missing)

# This is equivalent to
iris %>%
  skim() %>%
  dplyr::select(skim_variable, skim_type, n_missing)"

downlit::evaluate_and_highlight(code)
#> Error in UseMethod("replay_html", x): pas de méthode pour 'replay_html' applicable pour un objet de classe "c('one_skim_df', 'tbl_df', 'tbl', 'data.frame')"

Created on 2022-04-19 by the reprex package (v2.0.1)

from skimr.

maelle avatar maelle commented on June 18, 2024

Maybe r-lib/pkgdown#677 (comment) is a good thing to try (i.e. returning the object invisibly if not already the case)

from skimr.

elinw avatar elinw commented on June 18, 2024

Thank you for all of this. I'm going to try the invisibility approach. We do have custom objects and I guess something must have changed. We only build the site on a merge to main, so it has been a while.

from skimr.

elinw avatar elinw commented on June 18, 2024

@michaelquinn32 It looks to me like we need an explicit print.one_skim_df() function. I tried a bit but hit a dead end.

from skimr.

elinw avatar elinw commented on June 18, 2024

@michaelquinn32 I'm going to create a new issue, I thin we need to do a quick new release that I'll explain there.

from skimr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.