ShihChingYu / CLIN_SKAT

1 stars 3 forks source link

Problem with installing CLIN_SKAT #1

Open UrsaGitHub opened 1 year ago

UrsaGitHub commented 1 year ago

I have an issue with installing the CLIN_SKAT package from GitHub. I get an error: Malformed package name. Error: Failed to install 'CLIN_SKAT ' from GitHub: ! System command 'R' failed

priyambial123 commented 1 year ago

I too had problem in installing from GitHub. Has anyone able to resolve this issue

Malformed package name

   See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.`System command 'Rcmd.exe' failed, exit status: 1, stdout & stderr were printed`

Thank you

gurpreet-bioinfo commented 1 year ago

Hey @ShihChingYu,

I am also getting similar error:

checking for file ‘/ShihChingYu-CLIN_SKAT-612a62d/DESCRIPTION’ ...
preparing ‘CLIN_SKAT’:
E  checking DESCRIPTION meta-information
Malformed package name

See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.
Error: Failed to install 'CLIN_SKAT ' from GitHub:
! System command 'R' failed

Are you @UrsaGitHub @priyambial123 able to resolve it?

Thanks all!

gurpreet-bioinfo commented 1 year ago

@ShihChingYu Any update please, thanks.

testr1204 commented 1 year ago

I cannot install the package with the exact same problem:

devtools::install_github("ShihChingYu/CLIN_SKAT", force=T) Downloading GitHub repo ShihChingYu/CLIN_SKAT@HEAD ── R CMD build ───────────────────────────────────────────────────────────── ✔ checking for file 'C:\Users\sun32\AppData\Local\Temp\RtmpENGEGu\remotes43e064644740\ShihChingYu-CLIN_SKAT-612a62d/DESCRIPTION' ... ─ preparing 'CLIN_SKAT': E checking DESCRIPTION meta-information ... Malformed package name

See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual. Error: Failed to install 'CLIN_SKAT ' from GitHub: ! System command 'Rcmd.exe' failed

@ShihChingYu, could you post the solution to fix the installation? Thanks.

manucpbon commented 1 year ago

i believe the issue is caused by the underscore in the package name. That should be changed in the description file.

BevalZ commented 1 year ago

I've tried every thing I can to make it work, however, it didn't

So far, tried the above solutions. But I found the package itself is not that complicated... So, I'd rather copy-paste the codes and self-defined function in the package