-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutate Each Warnings Prevent Automation #11
Comments
Investigating further, it appears that the failure may be due to the script not receiving my API key. The script runs when I explicitly define the API key in my Rscript when I run the full script in RStudio. However, for whatever reason, this line is not picked up when I try to run task scheduler. Instead it tries to get it from the environment. In my R-script where I try to run my get_forecast function, I have an earlier line that is: I have created a file called ".Renviron" and saved it to my User/Documents/R folder. In that file I only have the line FORECASTIO_API_KEY=myuniquekey123 Where am I going wrong? |
Can you try the github version? There are no |
Whether I run the get_current_Forecast or the get_forecast_for function, I end up with the following warnings:
mutate_each()
is deprecated.Use
mutate_all()
,mutate_at()
ormutate_if()
instead.To map
funs
over a selection of variables, usemutate_at()
These are the only warnings that appear, and while I can still write a *.csv when I run this once in RStudio, these warnings prevent the writing of a *.csv any time I try to automate the process using Windows Task Scheduler. Is there a solution that avoids these warning errors?
The text was updated successfully, but these errors were encountered: