Running the command to install the fitbitr module from github in R Studio I get:
>devtools::install_github("teramonagi/fitbitr")
Downloading GitHub repo teramonagi/fitbitr@master
from URL https://api.github.com/repos/teramonagi/fitbitr/zipball/master
Installing fitbitr
"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \
"C:/Users/eogha/AppData/Local/Temp/Rtmp4QbnRJ/devtools8d03937372/teramonagi-fitbitr-4799677" \
--library="C:/Users/eogha/OneDrive/Documents/R/win-library/3.3" --install-tests
* installing *source* package 'fitbitr' ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'chron'
ERROR: lazy loading failed for package 'fitbitr'
* removing 'C:/Users/eogha/OneDrive/Documents/R/win-library/3.3/fitbitr'
Error: Command failed (1)
>
What am I doing wrong?
I'm running R Studio on Windows 10, is this exemple for linux only?
Answered! Go to the Best Answer.
Best AnswerOk, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:
Best AnswerOk, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:
Best Answer
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more