Git Product home page Git Product logo

Comments (8)

maurolepore avatar maurolepore commented on June 25, 2024

Do you have data.talble installed? Maybe close all other R sessions, restart R, and re-install data.table.

Also, data.table should be listed under Imports: in DESCRIPTION. You can add it manually or via `usethis::use_package("data.table").

Then document with devtools::document() and re run devtools::check().

from agbfluxes.

ErvanCH avatar ErvanCH commented on June 25, 2024

I see. I think it is looking into the standard library, whereas I am storing packages into an external R library. Will update that too. Any chance to point toward a "non-standard" lib location?
Thanks for your prompt reply
E

from agbfluxes.

ErvanCH avatar ErvanCH commented on June 25, 2024

I reinstalled "data.table", check that it was mentioned in Imports, rerun document(), but it still crash with the same message...

from agbfluxes.

ErvanCH avatar ErvanCH commented on June 25, 2024

Hey Mauro, could you connect to Github and try to build the package as it is? I'd be curious to see if you can do it or not. I don't understand what is happening with data.table. I am sure you will.
Thanks
E

from agbfluxes.

ErvanCH avatar ErvanCH commented on June 25, 2024

To my understanding, it is wrongly written "data.table**,**" somewhere (instead of "data.table") ... and it as a fact can't find the package. How shall I locate where this is wrongly written?
Thanks
E

from agbfluxes.

ErvanCH avatar ErvanCH commented on June 25, 2024

Found it!!! It was in damned NAMESPACE!!

from agbfluxes.

maurolepore avatar maurolepore commented on June 25, 2024

Great you solved it. I'm curious about how NAMESPACE got corrupt. It's not supposed to be edited manually

# Generated by roxygen2: do not edit by hand

But I have experienced similar issues. I never edit NAMESPACE manually but when I'm stuck I delete it and re-document with devtools::document() -- which re-creates NAMESPACE and often fixes the problem. I never bothered to track the problem to see what I did wrong or if it's an issue I should report to roxygen2. But if you know what happended please let me know.

from agbfluxes.

maurolepore avatar maurolepore commented on June 25, 2024

BTW, you can update the data in inst/extdata/data manually. Then you'll need to re-install the package (devtools::install()) to copy that data from your project into the installed folder in your chosen library.

from agbfluxes.

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.