[R-pkg-devel] Building fails with 'mypackage/DESCRIPTION' does not exist

peter dalgaard pd@|gd @end|ng |rom gm@||@com
Mon Sep 30 21:37:06 CEST 2019

Is it really called "mypackage"? Otherwise I'd first check that it is spelled the same way in all cases... 

Another possibility is that the embedded spaces in the pathname is doing you in.


> On 30 Sep 2019, at 16:31 , Steve Gutreuter <sgutreuter using gmail.com> wrote:
> I have a package which will no longer build after minor changes.  The
> problem occurs under both Windows 10 and Linux Mint.  For example, from a
> Windows terminal I do:
> C:\Users\xyz\OneDrive - ORG\Computing\Devel> R CMD build screenr
> and I get:
> * checking for file 'mypackage/DESCRIPTION' ... OK
> * preparing 'mypackage':
> * checking DESCRIPTION meta-information ... OK
> * installing the package to process help pages
> * saving partial Rd database
> Error in .read_description(ldpath) :
>   file 'mypackage/DESCRIPTION' does not exist
> Execution halted
> So the first and third lines of output contradict the error message, and of
> course mypackage/DESCRIPTION does exist.  I suspect the problem has nothing
> to do with the DESCRIPTION file, but have not found way to identify the
> actual problem in searches on StackOverflow and elsewhere. My .R files in
> mypackage/R contain Roxygen comments, and curiously devtools::document()
> adds nothing to mypackage/man.
> Any suggestions about how to debug or solve this problem?
> Thanks!
> Steve
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com

More information about the R-package-devel mailing list