Comments (6)
Thanks a lot for your report! I'll check this. Which ggplot2 version do you have installed?
There has been no ggplot2 cran update recently. Do you use the github develop version or a quite old ggplot2 version?
Would be great, if you could try to have the latest Cran ggplot2 version installed (and loaded) and try to load again.
Best
Steffen
from imputets.
I took another look - after_stat
is definitely exported by ggplot2 (current version 3.3.2). Think you have an old ggplot2 version. I'd suggest you update the ggplot version, then it should work again. (if this does not work, just open another issue) Best regards, Steffen
from imputets.
Thanks for the prompt response, you are absolutely correct, older version of ggplot2. Thanks!
from imputets.
Then a feature request, is it possible not to enforce that dependency? Doesnt seem like ggplot2 is a core feature of this package and it might limit the packages use for folks whose hands are tied on the ggplot2 version. Just a thought, thanks so much for a great package!
from imputets.
I gave your idea some thought. What is the reason for you to be tied to an older ggplot2 version? Are you using a server/cluster from your institute/company and you can't update packages there?
Is it possible not to enforce that dependency?
It would be. But, unfortunately all solutions for this issue have some drawbacks I don't like.
I'd expect the problem with older ggplot2 versions on servers/clusters that people can't update will somehow solve itself. In my experience while not being on the latest versions, these clusters are at least updated once in a while.
But what I'll definitely do as a result of your report is to add ggplot2 (≥ 3.3.0) instead of just ggplot to the package dependencies. This way users will get a meaningful error message already during installation. While people probably don't know at all what is wrong from the error message you got, I hope if the message is something like 'ggplot version 3.3.0 needed for installation' they will directly realize how to fix this. (if they can)
from imputets.
As promised, I made a commit today to add ggplot2 (≥ 3.3.0) as requirement to improve this.
Commit: 4573d12
(will also be on CRAN with the next version)
I also added a short shoutout to you in the package NEWS of the new version.
https://github.com/SteffenMoritz/imputeTS/blob/master/NEWS.md
Thanks again for reporting.
from imputets.
Related Issues (20)
- na_replace doesn't allow replacement full NA vector HOT 3
- na_kalman is slow for long time series HOT 8
- Feature: Allow bounded time series interpolation HOT 1
- plotNA.imputation etc. not working with par()/layout() HOT 1
- Detailed Model Summary in na_kalman() HOT 2
- Faceting HOT 2
- Suggestion: Applying the na_mean function considering only values from the same periods. HOT 1
- Documentation needs updating HOT 5
- How to choose the best algorithm ? HOT 2
- Support imputing around a circle (e.g. wind direction) HOT 5
- Getting Error on part of my time series HOT 3
- Return fitting statistics and/or residuals HOT 2
- model0 or model In file na_kalman.R? HOT 1
- multiple imputations
- na_kalman: possible convergence problem: 'optim' gave code = 52 and message 'ERROR: ABNORMAL_TERMINATION_IN_LNSRCH'
- possible convergence problem: 'optim' gave code = 1 and message 'NEW_X'
- 'libRblas.so: No such file or directory' during package installation HOT 3
- Converting from ee.Image data to Numeric Vector (vector) or Time Series (ts) object HOT 2
- Error in `optim()`: ! L-BFGS-B needs finite values of 'fn' 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 imputets.