mathart icon indicating copy to clipboard operation
mathart copied to clipboard

devtools::install_github("marcusvolz/mathart") fails

Open Chris854 opened this issue 3 years ago • 1 comments

Hi Marcus,

I am trying to install your packages as per https://github.com/marcusvolz/mathart/blob/master/README.md.

However, when I run

devtools::install_github("marcusvolz/mathart")

I get below output (note the error "Error: Failed to install 'mathart' from GitHub" and everything below). For some reason, I don't have your folder

marcusvolz-mathart-e792c15

in C:\Users\chris\AppData\Local\Temp\Rtmp8YcPnw\remotes3d6819ce6dd2...

Any idea what's going on here/how I can fix this so that I can use your package? :) Thanks!

Chris

Downloading GitHub repo marcusvolz/mathart@HEAD The system cannot find the path specified. √ checking for file 'C:\Users\chris\AppData\Local\Temp\Rtmp8YcPnw\remotes3d6819ce6dd2\marcusvolz-mathart-e792c15/DESCRIPTION' (1.2s)

  • preparing 'mathart': (1.8s) √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts (422ms)
  • checking for empty or unneeded directories
  • building 'mathart_0.0.0.9000.tar.gz'

Error: Failed to install 'mathart' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr: E> The system cannot find the path specified. E> * checking for file 'C:\Users\chris\AppData\Local\Temp\Rtmp8YcPnw\remotes3d6819ce6dd2\marcusvolz-mathart-e792c15/DESCRIPTION' ... OK E> * preparing 'mathart': E> * checking DESCRIPTION meta-information ... OK E> * checking for LF line-endings in source and make files and shell scripts E> * checking for empty or unneeded directories E> * building 'mathart_0.0.0.9000.tar.gz' E>

Chris854 avatar May 20 '21 21:05 Chris854

Hi Chris, sorry the package isn't installing. I just did a fresh re-install on my machine and it seems to be working ok for me.

There might be some useful info here, but I'm not sure if there was a clear resolution: https://community.rstudio.com/t/how-to-resolve-install-github-fails-with-error-system-command-rcmd-exe-failed-exit-status-1-stdout-stderr/95202/2

marcusvolz avatar May 22 '21 22:05 marcusvolz