Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fitbitr community R sample difficulty

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Ok, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:

 

https://www.digitalocean.com/community/tutorials/how-to-install-r-packages-using-devtools-on-ubuntu-...

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Ok, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:

 

https://www.digitalocean.com/community/tutorials/how-to-install-r-packages-using-devtools-on-ubuntu-...

Best Answer
0 Votes

@Eoghan Awesome, thanks for sharing. 🙂

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

Smiley LOL

Best Answer
0 Votes