r-lib / ps

R package to query, list, manipulate system processes
https://ps.r-lib.org/
Other
77 stars 19 forks source link

Problem installing the package in Windows #52

Closed MansMeg closed 5 years ago

MansMeg commented 5 years ago

I get a compilation error on a Windows machine with appveyor. Im no expert on windows so I cannot judge whet the problem ectually is in the ps package or in Rtools or Rcpp. But it come from R CMD INSTALL of the pxweb package and signals the 'ps' package. See the link below for the whole build process.

Also the problem started just without any changes in my code relevant to the problem, so I guess the problem is a dependency problem somehow.

The Appveyor output: https://ci.appveyor.com/project/MansMeg/pxweb/builds/20094641

ERROR: compilation failed for package 'ps'
gaborcsardi commented 5 years ago

You have no compiler.

MansMeg commented 5 years ago

Yes. See that now. Thanks!

gaborcsardi commented 5 years ago

I guess this is temporary, and it happens because CRAN does not have binary package for the new version, so r-appveyor tries to compile it from source. You can just wait, or add this to your appveyor.yml:

environment:
  USE_RTOOLS: true

E.g. https://github.com/r-lib/rcmdcheck/blob/307133433f03a29236adf5f714e4736cb90f1fc3/appveyor.yml#L20

MansMeg commented 5 years ago

Yep. That did work.

MansMeg commented 5 years ago

Thanks!