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
Using drat repository with source-only packages under Windows/Mac OS #82
Comments
Quickly (and happy to chat more)
Off to a meeting... All that said, easy things should be easy and "just work". I need to look again at our 'drat-data' paper setup. Maybe we only ever supported source there. Are you mixing source and binary? |
Ok, taking another look. A more narrow PR of just adding placeholder |
While I agree, writing the empty Whether the writing of empty |
Sorry, I wanted to add it as a reference for my own consumption and I accidentally put it here. For me adding empty |
Maybe users can just set |
@FelixErnst Do we have this covered now? Another close candidate? |
Depends. The appropriate paths for a package type will only be created, if the first package of this type is added. Without having tested it, this issue probably persist, if only source packages are added. From my point of view, it is rather a problem of |
Closing this for being out of scope and possibly stale. |
This is not really an issue (in the sense that it's a
drat
bug that needs fixing), but more a report on a problem I ran into (as well as others before me #81, #71, #46) and there even exists a (not-accepted) PR for fixing this (among other things): #73.Following the hurricaneexposuredata idea, I set up a gh-pages based drat repository with the following folder structure:
and I use this repository in another package by having the following in it's DESCRIPTION
As
datapackage
does not require compilation (and being a data package, size is not negligible), it does not make sense to add binary sources to the repo.Unfortunately, under Win/Mac OS such a setup can cause issues, as
remotes::install_deps()
will fail becauseutils::install.packages()
throws a warning. This can be remedied by doing any ofR_REMOTES_NO_ERRORS_FROM_WARNINGS
totrue
(a bit broad, as will apply to all deps)type = "source"
/specifycontriburl
whichremotes::install_deps()
will forward toutils::install.packages()
(not ideal in CI environments)PACKAGES
files in the appropriate places belowbin/
(the solution in added binary repo path in initRepo, also support "account_name/repo_name" format as input… #73)Personally, I feel that this should either be mentioned in the docs or that parts of #73 should be reconsidered as it did take some time for me to the to the bottom of this. I'm happy to look into salvaging this aspect of #73. What do you think @eddelbuettel?
The text was updated successfully, but these errors were encountered: