Hi Dario,

Gabe is right, you shouldn't be building within the package directory.
Although AFAIK, you should be able to do so. Perhaps if you point us
to your package, we might be able to see the issue...

Regards,

Marcel


On 03/21/2018 06:15 PM, Gabe Becker wrote:
Dario,

Does this ever happen if you build in the parent directory? I don't think
building within the package directory is best practice and I'm not sure
it's (officially) supported at all. The error message seems to support that.

~G

On Wed, Mar 21, 2018 at 9:40 AM, Dario Righelli <dario.righe...@gmail.com>
wrote:

Hi,

I've a package with a DESCRIPTION file inside of it, as usual.

It's a couple of times that, when I try to build the package on my local
machine or on travis-ci, I get this error:

Building package
Building with: R CMD build
0.74s$ R CMD build .
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘mypackage’:
* checking DESCRIPTION meta-information ...OK
* cleaning src
Error in .read_description(ldpath) :
file 'mypackage/DESCRIPTION' does not exist
Execution halted

Someone knows what does it depends on?

Thanks,
dario


         [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel






This email message may contain legally privileged and/or...{{dropped:2}}

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to