Use a different name than "data" such as "rawdata" within "inst" to put files 
that your code refers to using the system.name() function. The directory name 
"data" is used for a specific purpose as described in the Writing R Extensions 
manual [1], and if you want to put files in that directory following those 
special requirements then they must be in the top level "data" directory.

[1] 
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Data-in-packages

On June 14, 2020 1:55:50 AM PDT, Subhadip Datta <subhadipdatta...@gmail.com> 
wrote:
>I attached my test data in inst/data but why this warning is showing.
>"Found the following non-empty subdirectories of 'inst' also used by R:
>    inst/data
> It is recommended not to interfere with package subdirectories used by
>  R."
>This is not a problem from my side.  It used the data from that
>directory but showed an error for the folder.

-- 
Sent from my phone. Please excuse my brevity.

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to