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

Max Turgeon M@x@Turgeon @end|ng |rom um@n|tob@@c@
Mon Sep 30 21:37:09 CEST 2019

Hi Steve,

Is there a reason why your package is called `screenr`, and yet the output mentions `mypackage` as the name of the package? Did you manually edit the output? If not, then it would perhaps suggest that you have another description file lying around in your directory that's causing some interference...

In general, we are missing a bit of context to truly be able to help you. I cloned your repo from Github (https://github.com/sgutreuter/screenr) and was able to build the package without any issue, but it may not be the most up-to-date version of the package either.


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba

From: R-package-devel <r-package-devel-bounces using r-project.org> on behalf of Steve Gutreuter <sgutreuter using gmail.com>
Sent: September 30, 2019 9:31:23 AM
To: r-package-devel using r-project.org
Subject: [R-pkg-devel] Building fails with 'mypackage/DESCRIPTION' does not exist

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?


        [[alternative HTML version deleted]]

R-package-devel using r-project.org mailing list

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list