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

mix up in the package installation order in the presence of source packages #134

Closed
IndrajeetPatil opened this issue Jan 8, 2019 · 3 comments

Comments

@IndrajeetPatil
Copy link

IndrajeetPatil commented Jan 8, 2019

My package depends on both tibble and sjstats, both of which had a new release on CRAN. So once I bumped up versions for these dependencies, my Appveyor builds rely on source versions of these packages.

image

But the builds are failing with the following error-

* installing *source* package 'sjstats' ...
** package 'sjstats' successfully unpacked and MD5 sums checked
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'tibble'
ERROR: lazy loading failed for package 'sjstats'
* removing 'c:/RLibrary/sjstats'
In R CMD INSTALL
Error in i.p(...) : 
  (converted from warning) installation of package 'sjstats' had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
Command exited with code 1

Does this have something to do with the order in which source versions of packages are being downloaded? sjstats is attempted to download before tibble and since sjstats relies on tibble, it fails?

If that's the case, is this a bug? Should Appveyor figure out the dependency structure within the source versions of packages?

@krlmlr
Copy link
Owner

krlmlr commented Jan 8, 2019

Thanks. This problem should be gone as soon as the binary versions of tibble 2.0.0 are on CRAN, any moment now.

@gaborcsardi: remotes::install_deps() seems to mix up the package installation order in the presence of source packages on Windows. Any idea?

https://ci.appveyor.com/project/IndrajeetPatil/ggstatsplot/builds/21453200#L2077

@gaborcsardi
Copy link

Please report an issue. Thanks.

@IndrajeetPatil IndrajeetPatil changed the title build failing with recent versions of tibble and sjstats mix up in the package installation order in the presence of source packages Feb 20, 2019
@IndrajeetPatil
Copy link
Author

IndrajeetPatil commented Feb 20, 2019

Here is another example of this-
https://ci.appveyor.com/project/IndrajeetPatil/ggstatsplot/build/job/v33rv5dn3ti97aly

Source versions:

image

But since afex needs haven upstream, it fails since haven hasn't been installed yet-

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants