Skip to content

AWK not found while installing "r2vcftools" #2

Description

@rashidma

Hello ,
I am trying to install r2vcftools in rstudio running on windows 11 machine.

remotes::install_github("nspope/r2vcftools")

_Downloading GitHub repo nspope/r2vcftools@HEAD
Running `R CMD build`...
* checking for file 'C:\Users\dralmazroa\AppData\Local\Temp\RtmpUTJOsu\remotes46c01407c28\nspope-r2vcftools-02b6f30/DESCRIPTION' ... OK
* preparing 'r2vcftools':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Omitted 'LazyData' from DESCRIPTION
* building 'r2vcftools_0.0.0.9000.tar.gz'
Installing package into ‘C:/Users/dralmazroa/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
* installing *source* package 'r2vcftools' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Creating a new generic function for 'Filter' in package 'r2vcftools'
Checking for awk ... Error : awk not found!
Error: unable to load R code in package 'r2vcftools'
Execution halted
ERROR: lazy loading failed for package 'r2vcftools'
* removing 'C:/Users/dralmazroa/AppData/Local/R/win-library/4.3/r2vcftools'
Warning message:
In i.p(...) :
  installation of package ‘C:/Users/DRALMA~2/AppData/Local/Temp/RtmpUTJOsu/file46c03e051320/r2vcftools_0.0.0.9000.tar.gz’ had non-zero exit status_

Then I installed awk through installer and awk is available in power shell. I set the path variable to "C:\Program Files (x86)\GnuWin32\bin".

Please let me know why i am not able to install r2vcftools?
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions