Code Monkey home page Code Monkey logo

cheem's People

Contributors

dicook avatar nspyrison avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

indykpol

cheem's Issues

could not find function "basis_attr_df"

Hi,

in the cheem --- version 0.3.0
after calling

library(cheem)
 run_app()

I've get following warning:

Warning: Error in basis_attr_df: could not find function "basis_attr_df"
  205: <reactive:bas> [/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/cheem/shiny_apps/cheem/app.R#68]

I see that cheem:::basis_attr_df is not exported, so maybe this is the cause

{lightgbm} v4.0.0 is coming

๐Ÿ‘‹ Hello! I'm James, one of the maintainers of LightGBM.

We were excited to see {cheem} show up as a "reverse suggests" on https://cran.r-project.org/web/packages/lightgbm/index.html. Thanks so much for enhancing what users can do in R with LightGBM models!

First, I wanted to let you know that the next release of LightGBM (the entire project, including the R package) will be a major version release with significant breaking changes. See this discussion of v4.0.0: microsoft/LightGBM#5153. We don't have a planned date for that release yet, as we have been struggling from a lack of maintainer attention / activity. But I expect it will be months not weeks from now.

Please open issues at https://github.com/microsoft/LightGBM/issues if there's anything we could do to make {lightgbm} easier to use with {cheem}.

Second, I wanted to share how you can test this project against {lightgbm}.

REPO_DIR="${HOME}/repos"

# install {cheem}'s Suggests dependencies
git clone \
    https://github.com/nspyrison/cheem.git \
    "${REPO_DIR}/cheem"
cd "${REPO_DIR}/cheem"
Rscript \
    --vanilla \
    -e "devtools::install_dev_deps()"

# build {lightgbm} R package from source and install it
git clone \
    --recursive \
    [email protected]:microsoft/LightGBM.git \
    "${REPO_DIR}/lgb-dev"

cd "${REPO_DIR}/lgb-dev"
sh build-cran-package.sh \
    --no-build-vignettes

R CMD INSTALL \
    --with-keep.source \
    ./lightgbm_*.tar.gz

# run R CMD check
cd "${REPO_DIR}/cheem"
R CMD build .
R CMD check --as-cran ./cheem_*.tar.gz

As of the most recent development version of {lightgbm} (microsoft/LightGBM@44fe591), R CMD check shows some failing examples and tests.

Are you open to contributions that attempt to resolve these and make {cheem} compatible with both old and new versions of {lightgbm}?

Thanks very much for your time and consideration.

error

cheem::run_app()
...
Warning: The 'plotly_selected' event tied a source ID of 'A' is not registered. In order to obtain this event data, please add event_register(p, 'plotly_selected') to the plot (p) that you wish to obtain event data from.
Warning in Ops.factor(yscale, x[, 2L]) : โ€˜*โ€™ not meaningful for factors
Warning: Error in : Continuous value supplied to discrete scale

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.