hongyuanjia / epluspar

Conduct parametric analysis on EnergyPlus models in R
https://hongyuanjia.github.io/epluspar
Other
9 stars 0 forks source link

Error message installing epluspar package #21

Closed mdakyen closed 4 years ago

mdakyen commented 4 years ago

Good day, I have been trying to install epluspar package, but I kept receiving the following error message.

Error: Failed to install 'epluspar' from GitHub: (converted from warning) installation of package ‘C:/Users/Toshiba/AppData/Local/Temp/RtmpcN6aMt/file225c784e4a27/epluspar_0.0.0.9000.tar.gz’ had non-zero exit status In addition: Warning messages: 1: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers 2: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers

hongyuanjia commented 4 years ago

Hi @mdakyen , are there any other error messages besides this? Current messages did not give insights on why it failed.

epluspar depends on rstan, which needs some efforts to install. Can you try to install rstan before installing epluspar?

mdakyen commented 4 years ago

Hello @hongyuanjia, thanks for your quick responds to my message. I followed the suggestion you made earlier on, to install https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started before installing epluspar. But, I still encounter an error message in an attempt to install epluspar. The error message is shown bellow: installing to C:/Users/Toshiba/Documents/R/win-library/4.0/00LOCK-epluspar/00new/epluspar/libs/x64 R inst ** byte-compile and prepare package for lazy loading Error in get("assert", envir = asNamespace("eplusr"), inherits = FALSE) : object 'assert' not found Error: unable to load R code in package 'epluspar' Execution halted ERROR: lazy loading failed for package 'epluspar'

hongyuanjia commented 4 years ago

Hi @mdakyen. Thanks for the info.

The error was caused by the recent update of eplusr package that epluspar depends on. It should be fixed now via #19. Please try to install again to see if it works.

mdakyen commented 4 years ago

Hello @hongyuanjia. I wish to express my appreciation for your swift response to my complain. I am now able to install epluspar package from github and load its library into R.

hongyuanjia commented 4 years ago

Good to know that!