Comments (8)
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.
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.
I reinstalled "data.table", check that it was mentioned in Imports, rerun document(), but it still crash with the same message...
from agbfluxes.
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.
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.
Found it!!! It was in damned NAMESPACE!!
from agbfluxes.
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.
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)
- Create regression tests to allow changing your code confidently HOT 3
- Restructure .R files HOT 3
- Can't install the package HOT 3
- PRIORITY: Help me run data_preparation() HOT 9
- Error in assignWD(df, WD = WD) : object 'WD' not found
- Fix warnings and notes after running devtools::check(). HOT 5
- Join forces to develop taper correction HOT 1
- Extract out functionality to produce side effects
- Give sensible defaults to simplify the interface
- Make the primary input to be the path to the data. HOT 1
- Extract argument as function.
- Remove or rename `df`
- Document changes HOT 5
- Provide documentation as to what this code does HOT 1
- Test styler syntax for data.table
- Integrate work by Mauro and Ervan HOT 1
- Update data/
- Explore likely speed bottleneck
- Error: package or namespace load failed for 'AGBfluxes' in namespaceExport(ns, exports) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agbfluxes.