Skip to content

Rkdb installation not working on Windows #70

@mattdimi

Description

@mattdimi

Describe the bug
When I run the following standard installation command: devtools::install_github('kxsystems/rkdb', quiet=FALSE,INSTALL_opts=c("--no-multiarch")), I obtain the following:
`
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\mathi\AppData\Local\Temp\RtmpIh7EBU\remotes350047eb79e9\KxSystems-rkdb-ad47cd7/DESCRIPTION' (354ms)
─ preparing 'rkdb':
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'rkdb_0.13.0.tar.gz'

Installing package into ‘C:/Users/mathi/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)

  • installing source package 'rkdb' ...
    ** using staged installation
    ** libs
    Warning in system(cmd) : 'make' not found
    ERROR: compilation failed for package 'rkdb'
  • removing 'C:/Users/mathi/AppData/Local/R/win-library/4.2/rkdb'
    Warning messages:
    1: In file.copy(savedcopy, lib, recursive = TRUE) :
    problem copying C:\Users\mathi\AppData\Local\R\win-library\4.2\00LOCK\Rcpp\libs\x64\Rcpp.dll to C:\Users\mathi\AppData\Local\R\win-library\4.2\Rcpp\libs\x64\Rcpp.dll: Permission denied
    2: In i.p(...) :
    installation of package ‘C:/Users/mathi/AppData/Local/Temp/RtmpIh7EBU/file35002b94511d/rkdb_0.13.0.tar.gz’ had non-zero exit status`.

Expected behavior
The package installation should work. Does anyone know how to solve this issue?
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows11 64 bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions