alexsanjoseph / compareDF

R Tool to compare two data.frames
Other
93 stars 17 forks source link

Error installing package from github #30

Closed jamesguinnip closed 4 years ago

jamesguinnip commented 4 years ago

Hello,

I first installed compareDF from the CRAN yesterday, and things were great! However, I tried using create_output_table() with output_type = "xlsx" and it wouldn't work. It output an unspecified file type to the working directory and I couldn't get my Windows machine to open the file at all after trying a variety of software.

I noticed the mention of a bug with the CRAN version, so I entered the following to install the package directly from GitHub: devtools::install_github('alexsanjoseph/compareDF')

Unfortunately, I'm getting the following error message (the copied text includes other info from the console after running the above line of code):

Downloading GitHub repo alexsanjoseph/compareDF@master √ checking for file 'C:\Users\jguinnip\AppData\Local\Temp\RtmpU31KEH\remotesf34695a6f82\alexsanjoseph-compareDF-9d508d0/DESCRIPTION' (625ms)

Installing package into ‘\sunfish/home/jguinnip/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) '\sunfish\home\jguinnip\Documents' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.

I appreciate any help you can offer. I'm not very savvy on the back end of R (I'm an ecologist that uses R for statistics) so I'm a little confused about what the error is really telling me. I've used install_github() for other packages in the past with no issues, so I'm not sure what is wrong now.

alexsanjoseph commented 4 years ago

I'm not sure what exactly is happening either - because I don't have a windows system with me.

Can you try cloning the repo locally and installing with R CMD INSTALL . from the compareDF folder?

alexsanjoseph commented 4 years ago

I don't know what exactly the issue was, but I've pushed the bugfix to CRAN - this should solve your issue if it still persists!