[R-pkg-devel] System requirements of a vignette engine

2020-03-30 Thread fvafrcu


Dear All,
inspired by Karl Broman`s reader on using 'knitr' with 'asciidoc'
(http://kbroman.org/knitr_knutshell/pages/asciidoc.html), I wrote package
rasciidoc some time ago.
It is just a wrapper to knitr and asciidoc, which is a system requirement for
the package. CRAN does not need to have asciidoc installed to build and check
the package, although the package is pretty useless without asciidoc.

Now I have added a vignette engine to write vignettes using rasciidoc.
And here is the problem: this engine obviously needs asciidoc to be installed, 
which is not the case on CRAN, so the package with the vignette engine fails the
autocheck.
Writing vignettes that cannot go to CRAN seems pretty pointless. Does that mean
that writing vignette engines that do not rely on pandoc or LaTeX is pointless?
Or is it possible to get system requirements for vignette engines installed on
CRAN?

Thanks for your answers,
Dominik

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


Re: [R-pkg-devel] System requirements of a vignette engine

2020-03-30 Thread Uwe Ligges

Pls write to c...@r-project.org.

Best,
Uwe Ligges

On 30.03.2020 01:09, fvaf...@mailbox.org wrote:


Dear All,
inspired by Karl Broman`s reader on using 'knitr' with 'asciidoc'
(http://kbroman.org/knitr_knutshell/pages/asciidoc.html), I wrote package
rasciidoc some time ago.
It is just a wrapper to knitr and asciidoc, which is a system requirement for
the package. CRAN does not need to have asciidoc installed to build and check
the package, although the package is pretty useless without asciidoc.

Now I have added a vignette engine to write vignettes using rasciidoc.
And here is the problem: this engine obviously needs asciidoc to be installed,
which is not the case on CRAN, so the package with the vignette engine fails the
autocheck.
Writing vignettes that cannot go to CRAN seems pretty pointless. Does that mean
that writing vignette engines that do not rely on pandoc or LaTeX is pointless?
Or is it possible to get system requirements for vignette engines installed on
CRAN?

Thanks for your answers,
Dominik

__
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


[R-pkg-devel] Help with Error Messages

2020-03-30 Thread Kelsey Chetnik
Hi,

I am submitting a package to CRAN for the first time and I am not sure what
the following error means and how to solve it:
https://win-builder.r-project.org/incoming_pretest/MetaClean_0.1.0_20200330_150936/Windows/00install.out

Could someone please help me with this?

Thank you,
Kelsey Chetnik

[[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] Help with Error Messages

2020-03-30 Thread Brian G. Peterson
On Mon, 2020-03-30 at 10:18 -0400, Kelsey Chetnik wrote:
> Hi,
> 
> I am submitting a package to CRAN for the first time and I am not
> sure what
> the following error means and how to solve it:
> https://win-builder.r-project.org/incoming_pretest/MetaClean_0.1.0_20200330_150936/Windows/00install.out
> 
> Could someone please help me with this?
> 

The link will go away, so here is the error:

** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'S4Vectors', details:
  call: validObject(.Object)
  error: invalid class "LLint" object: superclass "integer_OR_LLint"
not defined in the environment of the object's class
Execution halted
ERROR: lazy loading failed for package 'MetaClean'

Does your package compile and run locally? 

Is the 'S4Vectors' package properly listed in 'Imports' ?

This error might be related to S4Vectors, and unrelated to you
directly.  Check on other Winbuilder architectures, R-Hub, etc, and see
if the error is replicated there.

Regards,

Brian

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


[R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-03-30 Thread renozao
Hi,

when R CMD check is run under R-devel (2020-03-29 r78108) I get the following 
error at installation:

Error in get(cname, envir = cwhere, inherits = FALSE) :
  object ‘.__C__compMatrix’ not found
Error in setClassUnion("mMatrix", c("Matrix", "matrix")) :
  unable to create union class:  could not set members "Matrix"

This does not happen on R 3.6.3.

I tried with Matrix listed in Depends but I still get the same error.

Is this linked to some changes in union classes or the Matrix package?

Thank you.

Bests,

Renaud
[[alternative HTML version deleted]]

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


[R-pkg-devel] Failing incoming tests on 'stringsAsFactors = TRUE'

2020-03-30 Thread Trent McDonald
Trying to update a package on CRAN.  It passes all the following tests:
Local (r CMD --as-cran, R 3.6.2), devtools::check_win_dev,
devtools::check_rhub, and my personal .yml file on travis-ci.org   But, the
incoming CRAN tests last week for windows fail (linux test throw different
warning that I can fix).  This is the log file:

* using log directory 'd:/RCompile/CRANincoming/R-devel/SDraw.Rcheck'
* using R version 4.0.0 alpha (2020-03-26 r78078)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'SDraw/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'SDraw' version '2.1.10'
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: 'Trent McDonald '
* checking package namespace information ... OK

--- snip  multiple checks, all OK

* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... WARNING
Warning message:
In options(stringsAsFactors = TRUE) :
  'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
 ERROR
Warning message:
In options(stringsAsFactors = TRUE) :
  'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
* DONE
Status: 1 ERROR, 1 WARNING

Course forward unknown.  Googling unproductive.  I searched the package
source for the use of 'stringsAsFactors'. I never set the option nor call
data.frame with it nor read.csv nor use stringsAsFactors anywhere.  In my
local .Rprofile, I set 'options(stringsAsFactors=FALSE)', but that should
not matter, correct?  Suggestions?

My local version is 3.6.2.  Source code link :
https://github.com/tmcd82070/SDraw


*Trent McDonald*
* Senior Statistician*

[[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] Failing incoming tests on 'stringsAsFactors = TRUE'

2020-03-30 Thread Duncan Murdoch
The warning about stringsAsFactors is very new; I don't think it's even 
mentioned in the NEWS, though the help ?data.frame mentions it.


So I suspect either the Windows build happened in the middle of 
committing code to implement the warning, and it wasn't all tested yet, 
or some package you depend on sets options(stringsAsFactors = TRUE). 
I'd try submitting your package to Win-builder R-devel and see if it 
still finds that issue.


(Instructions are here:  https://win-builder.r-project.org/).

Duncan Murdoch



On 30/03/2020 6:42 p.m., Trent McDonald wrote:

Trying to update a package on CRAN.  It passes all the following tests:
Local (r CMD --as-cran, R 3.6.2), devtools::check_win_dev,
devtools::check_rhub, and my personal .yml file on travis-ci.org   But, the
incoming CRAN tests last week for windows fail (linux test throw different
warning that I can fix).  This is the log file:

* using log directory 'd:/RCompile/CRANincoming/R-devel/SDraw.Rcheck'
* using R version 4.0.0 alpha (2020-03-26 r78078)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'SDraw/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'SDraw' version '2.1.10'
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: 'Trent McDonald '
* checking package namespace information ... OK

--- snip  multiple checks, all OK

* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... WARNING
Warning message:
In options(stringsAsFactors = TRUE) :
   'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
  ERROR
Warning message:
In options(stringsAsFactors = TRUE) :
   'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
* DONE
Status: 1 ERROR, 1 WARNING

Course forward unknown.  Googling unproductive.  I searched the package
source for the use of 'stringsAsFactors'. I never set the option nor call
data.frame with it nor read.csv nor use stringsAsFactors anywhere.  In my
local .Rprofile, I set 'options(stringsAsFactors=FALSE)', but that should
not matter, correct?  Suggestions?

My local version is 3.6.2.  Source code link :
https://github.com/tmcd82070/SDraw


*Trent McDonald*
* Senior Statistician*

[[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