10-12-2016 08:06 - edited 10-13-2016 04:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-12-2016 08:06 - edited 10-13-2016 04:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

- Labels:
-
Subscriptions API
Accepted Solutions
10-15-2016 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-15-2016 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:

10-15-2016 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-15-2016 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok, it was a problem installing devtools. I got it working in ubuntu 16 in an Oracle virtual box following this tutorial:

10-15-2016 11:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-15-2016 11:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@Eoghan Awesome, thanks for sharing. 🙂

10-15-2016 12:34 - edited 10-19-2016 08:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-15-2016 12:34 - edited 10-19-2016 08:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

