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

2019-10-01 Thread Steve Gutreuter
Thank you Gábor!  That was the problem, and I learned from it.


On 10/1/19 9:36 AM, Gábor Csárdi wrote:
> Your ignore file changes make R (and roxygen) ignore all source files:
> https://github.com/sgutreuter/screenr/commit/3eaa9280221aa9885b6c35a758a46fbb2fdb1e46#diff-bc92b187c74649b3e0a039784ff93b39
>
> Undo the `#*` line.
>
> Gabor
>
> On Tue, Oct 1, 2019 at 2:26 PM Steve Gutreuter  wrote:
>> First, thank you Bill Dunlap, Peter Dalgaard and Max Turgeon,
>>
>> I edited (incompletely) the initial posting and failed to change screenr
>> to mypackage.  However that was not the source of the problem.
>> Windows sysadmins cannot be convinced that paths containing white space
>> are pure evil, but that is also not the problem because building also
>> fails on a Linux Mint box that uses only sane file/directory names.
>> Default installation from GitHub (sgutreuter/screenr) succeeds because
>> the version in Master is OK.  The version in branch fixROC fails.
>>
>> I think that the root of the problem is that the Rd files are not being
>> created in /man.  Roxygen2::roxygenize() is failing *silently* (another
>> source of frustration).  So I suspect the problem lies somewhere in the
>> comments for one or more of the functions.  I am trying to identify
>> where from a diff, as Bill suggested.
>>
>> Best regards,
>> Steve
>>
>>
>> On 9/30/19 5:30 PM, William Dunlap wrote:
>>> Will the package build if you back out the "minor changes"?  If so,
>>> what were the minor changes (show diff output)?
>>>
>>> Bill Dunlap
>>> TIBCO Software
>>> wdunlap tibco.com 
>>>
>>>
>>> On Mon, Sep 30, 2019 at 12:24 PM Steve Gutreuter >> > 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@r-project.org
>>>   mailing list
>>>  https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>>
>> --
>> Steve Gutreuter
>>
>>
>>  [[alternative HTML version deleted]]
>>
>> __
>> R-package-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Steve Gutreuter


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-10-01 Thread Gábor Csárdi
Your ignore file changes make R (and roxygen) ignore all source files:
https://github.com/sgutreuter/screenr/commit/3eaa9280221aa9885b6c35a758a46fbb2fdb1e46#diff-bc92b187c74649b3e0a039784ff93b39

Undo the `#*` line.

Gabor

On Tue, Oct 1, 2019 at 2:26 PM Steve Gutreuter  wrote:
>
> First, thank you Bill Dunlap, Peter Dalgaard and Max Turgeon,
>
> I edited (incompletely) the initial posting and failed to change screenr
> to mypackage.  However that was not the source of the problem.
> Windows sysadmins cannot be convinced that paths containing white space
> are pure evil, but that is also not the problem because building also
> fails on a Linux Mint box that uses only sane file/directory names.
> Default installation from GitHub (sgutreuter/screenr) succeeds because
> the version in Master is OK.  The version in branch fixROC fails.
>
> I think that the root of the problem is that the Rd files are not being
> created in /man.  Roxygen2::roxygenize() is failing *silently* (another
> source of frustration).  So I suspect the problem lies somewhere in the
> comments for one or more of the functions.  I am trying to identify
> where from a diff, as Bill suggested.
>
> Best regards,
> Steve
>
>
> On 9/30/19 5:30 PM, William Dunlap wrote:
> > Will the package build if you back out the "minor changes"?  If so,
> > what were the minor changes (show diff output)?
> >
> > Bill Dunlap
> > TIBCO Software
> > wdunlap tibco.com 
> >
> >
> > On Mon, Sep 30, 2019 at 12:24 PM Steve Gutreuter  > > 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@r-project.org
> >  mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>
> --
> Steve Gutreuter
>
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-10-01 Thread Steve Gutreuter
First, thank you Bill Dunlap, Peter Dalgaard and Max Turgeon,

I edited (incompletely) the initial posting and failed to change screenr 
to mypackage.  However that was not the source of the problem.
Windows sysadmins cannot be convinced that paths containing white space 
are pure evil, but that is also not the problem because building also 
fails on a Linux Mint box that uses only sane file/directory names.
Default installation from GitHub (sgutreuter/screenr) succeeds because 
the version in Master is OK.  The version in branch fixROC fails.

I think that the root of the problem is that the Rd files are not being 
created in /man.  Roxygen2::roxygenize() is failing *silently* (another 
source of frustration).  So I suspect the problem lies somewhere in the 
comments for one or more of the functions.  I am trying to identify 
where from a diff, as Bill suggested.

Best regards,
Steve


On 9/30/19 5:30 PM, William Dunlap wrote:
> Will the package build if you back out the "minor changes"?  If so, 
> what were the minor changes (show diff output)?
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com 
>
>
> On Mon, Sep 30, 2019 at 12:24 PM Steve Gutreuter  > 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@r-project.org
>  mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

-- 
Steve Gutreuter


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-09-30 Thread William Dunlap
Will the package build if you back out the "minor changes"?  If so, what
were the minor changes (show diff output)?

Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Mon, Sep 30, 2019 at 12:24 PM Steve Gutreuter 
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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-09-30 Thread peter dalgaard
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.

-pd

> On 30 Sep 2019, at 16:31 , Steve Gutreuter  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@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@cbs.dk  Priv: pda...@gmail.com

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-09-30 Thread Max Turgeon
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.


Cheers,


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca<http://maxturgeon.ca>



From: R-package-devel  on behalf of 
Steve Gutreuter 
Sent: September 30, 2019 9:31:23 AM
To: r-package-devel@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?

Thanks!
Steve

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-09-30 Thread Steve Gutreuter
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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel