Git Product home page Git Product logo

Comments (5)

cderv avatar cderv commented on June 9, 2024 1

There an issue to fix here

==> devtools::document(roclets = c('rd', 'collate', 'namespace'))

Updating crrri documentation
Loading crrri
Error in .f(.x[[i]], ...) : 
  R6 class (EventEmitter) without source references. If you use the `installed` load method in `DESCRIPTION`, then try re-installing the package with option '--with-keep.source'. E.g. `install.packages(..., INSTALL_OPTS = "--with-keep.source")`.
Calls: suppressPackageStartupMessages ... extract_r6_self_data -> rbind -> extract_r6_methods -> map_int -> .f
Excution arrte

Exited with status 1.

Should look into it.

from crrri.

RLesur avatar RLesur commented on June 9, 2024

I haven't seen that. Excellent!

from crrri.

cderv avatar cderv commented on June 9, 2024

It seems we have a special case somewhere not handled by roxygen2 R6 support
See r-lib/roxygen2#1014
We will deactivate it for now

from crrri.

cderv avatar cderv commented on June 9, 2024

And we have the issue above only with the default load method in roxygenise

# does not work
roxygen2::roxygenise(load_code = "pkgload")
# works
roxygen2::roxygenise(load_code = "source")

We could use Roxygen: list(load = "source") in DESCRIPTION to change the default. But I am still puzzled why the default does not work... 🤔

from crrri.

cderv avatar cderv commented on June 9, 2024

Note to self: Roxygen: list(load = "source") is taken into account by devtools::document() in console but not by CTRL + SHIFT + D or Document in IDE Build pane
Seems to be a bug... must find a minimal reproducible example. We can reproduce using this package state but it is an heavy example

from crrri.

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.