Skip to content
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

couldn't install hms #11

Closed
Myfanwy opened this issue Apr 9, 2016 · 10 comments
Closed

couldn't install hms #11

Myfanwy opened this issue Apr 9, 2016 · 10 comments

Comments

@Myfanwy
Copy link

Myfanwy commented Apr 9, 2016

Hi,

when I ran devtools::install_github('krlmlr/hms'), I got the following readout:

Downloading GitHub repo krlmlr/hms@master from URL https://api.github.com/repos/krlmlr/hms/zipball/master Installing hms Downloading GitHub repo jimhester/covr@v2 from URL https://api.github.com/repos/jimhester/covr/zipball/v2 Error: Could not find build tools necessary to build covr

I went to his repo page, but I'm not really sure where to start to build covr. Any help would be greatly appreciated, thanks!

@krlmlr
Copy link
Member

krlmlr commented Apr 9, 2016

@jimhester: Why is devtools attempting to grab a "remote" package that is listed in the Suggests?

@krlmlr
Copy link
Member

krlmlr commented Apr 9, 2016

Thanks. Could you please try

devtools::install_github("krlmlr/hms@feature/11-covr")

If you confirm this works, I'll merge, and installation without the @ suffix will work.

@Myfanwy
Copy link
Author

Myfanwy commented Apr 9, 2016

@jimhester @krlmlr ok, thanks! Will try. I was also running an old version of devtools - but got the same error message after package update.

@Myfanwy
Copy link
Author

Myfanwy commented Apr 9, 2016

devtools::install_github("krlmlr/hms@feature/11-covr") worked!

@krlmlr
Copy link
Member

krlmlr commented Apr 9, 2016

Just out of curiosity -- does the error also occur with the bleeding-edge version of devtools?

@Myfanwy
Copy link
Author

Myfanwy commented Apr 9, 2016

is the bleeding edge version devtools::install_github("hadley/devtools") ? Because if so, I just tried to run that and got the same error I did with covr:

Downloading GitHub repo hadley/devtools@master from URL https://api.github.com/repos/hadley/devtools/zipball/master Error: Could not find build tools necessary to build devtools

@Myfanwy
Copy link
Author

Myfanwy commented Apr 9, 2016

must be my XCode...?

@krlmlr
Copy link
Member

krlmlr commented Apr 9, 2016

Got it sorted out: It's fixed in r-lib/devtools#1067, not merged yet. About time ;-)

I can confirm that this version of devtools doesn't attempt installing covr.

@krlmlr krlmlr closed this as completed in 458790b Apr 9, 2016
@jimhester
Copy link
Contributor

FWIW covr v2 has been merged to master and released to CRAN.

krlmlr pushed a commit that referenced this issue Apr 20, 2016
- Updating units is a no-op, anything different from `"secs"` issues a warning (#10).
- Negative times are formatted with a leading `-` (#1).
- Install `covr` package from CRAN.
- Remove `covr` from dependencies to simplify installation (#11).
@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants