Items in the inst
directory of a package are made available through
system.file(..., package=<mypkg>)
so assuming you had that .dll
in a package path <pkg>/inst/lib/qserver.dll
, you can do
system.file("lib/qserver.dll", package=<mypkg>)
to get the file location.
Now, of course, this is not CRAN acceptable, and the CRAN Repository Policy is quite clear on this. So if you really need qserver.dll
, either you need to find the source code, or consider a different route for distribution.