Weird error trying to install package

i'm working on a package called BEDCA. After I had my data in place I tried to install it but R threw an error. Here's my output. Does anyone recognize what's happening? I'm running the current R 5.4.1 under Windows 11 24H2. Thanks!

Running "C:/PROGRA~1/R/R-45~1.1/bin/x64/Rcmd.exe" INSTALL \
  "C:\Users\Admin\AppData\Local\Temp\RtmpwLYzx3/BEDCA_0.1.0.tar.gz" --install-tests 
* installing to library 'C:/Users/Admin/AppData/Local/R/win-library/4.5'
* installing *source* package 'BEDCA' ...
** this is package 'BEDCA' version '0.1.0'
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error : 'C:/Users/Admin/AppData/Local/Temp/RtmpkbTIWI/R.INSTALL366c3fe15d95/BEDCA/data-raw/NA' does not exist.
Error: unable to load R code in package 'BEDCA'
Execution halted
ERROR: lazy loading failed for package 'BEDCA'
* removing 'C:/Users/Admin/AppData/Local/R/win-library/4.5/BEDCA'
Error in `(function (command = NULL, args = character(), error_on_status = TRUE, …`:
! System command 'Rcmd.exe' failed
---
Exit status: 1
stdout & stderr: <printed>
---

Is your package open source? Can we have access to it? That would make it much easier to help you.

I've managed to resolve the issue and can now install the package. I do have some other questions; I presume I should post those in a new topic. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.