fitbitr icon indicating copy to clipboard operation
fitbitr copied to clipboard

devtools::install_github("teramonagi/fitbitr") throws an error

Open jobreu opened this issue 6 years ago • 2 comments

Error in read.dcf(path) : Found continuation line starting ' person("Nagi", "Te ...' at begin of record.

The first result of my quick Google search suggests it has something to do with the DESCRIPTION file in the repo: https://github.com/r-lib/devtools/issues/1900

jobreu avatar Feb 04 '19 12:02 jobreu

when I try to install fitbitr using the command install.packages("fitbitr")

It gives error "package ‘fitbitr’ is not available (for R version 3.6.3)"

Any help is appreciated

Version of R studio 1.2.5033

Gayathri-Nagarajan avatar Aug 21 '20 23:08 Gayathri-Nagarajan

@Gayathri-Nagarajan the package is not available on CRAN and thusinstall.packages("fitbitr") will not run.

For packages like this that are hosted on GitHub, you'll need to install the devtools package and then use it's install_github function as follows:

install.packages("devtools")
devtools::install_github("teramonagi/fitbitr")

erramirez avatar Aug 22 '20 05:08 erramirez