[R-pkg-devel] Fwd: unable to load shared object

2018-10-03 Thread Witold E Wolski
Hello, I am trying to install a package with some src files on windows (linux build works smooth). The sources seem to build (against MSYS2 libraries), there is an *.dll in the src folder but than the installation process fails with: ``` ** testing if installed package can be loaded Error: packa

Re: [R-pkg-devel] accessing data by packagename::dataname from within package code fails.

2016-12-12 Thread Witold E Wolski
=bibliospec::AminoAcids){ I guess this is an R FEATURE. But then where and how is the best practice to initialize class members with default values? Thank you. On 12 December 2016 at 15:45, Witold E Wolski wrote: > I am wrting a package called bibliospec. > I have a dataset in data/Am

[R-pkg-devel] accessing data by packagename::dataname from within package code fails.

2016-12-12 Thread Witold E Wolski
I am wrting a package called bibliospec. I have a dataset in data/AminoAcids.tsv and would like to be able to access it with bibliospec::AminoAcids from within my package code. R CMD build gives me the error: Error : 'AminoAcids' is not an exported object from 'namespace:bibliospec' I am able t