[R] problem with creation of /doc/index.html

Oleksandr Ocheredko ocheredko @end|ng |rom y@hoo@com
Fri Nov 12 00:35:48 CET 2021


I use macOS BigSur v.11.5
R v.4.0.5 macOS
package «ltable» does power analysis based on GSL-2.7
Xcode v.13.1

It goes smoothly with all OK on Checking, building, installing both with R and RStudio v. 1.3.1093
The only problem appears with Installing package in RStudio immediately after deleting it (no help.rd file found) which is solved just by rebooting RStudio

Description file:

Package: ltable
Type: Package
Title: Easy to Make (Lazy) Tables
Version: 2.0.1
Date: 2021-10-02
Author: Ocheredko Oleksandr
Description: Constructs tables of counts and proportions out of data sets. It has simplified syntax appealing for novice and even for advanced user under time pressure. It is particularly suitable for exploratory data analysis or presentation to single out most appropriate pieces of tabulated information. The other important feature is possibility to insert tables to Excel and Word documents. This version also features capacity of log-linear and power analyses for tabulated data with GSL.  
Maintainer: Ocheredko Oleksandr <Ocheredko using yahoo.com>
License: GPL (>= 2)
Depends: R (>= 4.0.0), methods, clipr  
Imports: Rcpp (>= 1.0.5), RcppGSL (>= 0.3.9), graphics, stats
Suggests: 
    MCMCglmm,
    knitr, 
    rmarkdown,
    datasets
VignetteBuilder: knitr
Collate: PowerPoisson.R RcppExports.R Plot.R Print.R table_f.R tableToData.R
SystemRequirements: GSL
NeedsCompilation: yes
OS_type: macOS
LinkingTo: Rcpp, RcppGSL

ltable/vignettes/ltable.rmd:
---
title: "ltable"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{ltable}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

Upon submitting to CRAN I received:
* installing *source* package ‘ltable’ ...
** using staged installation
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gsl-config... /usr/bin/gsl-config
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++-11  -std=gnu++14 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/include -I'/home/hornik/lib/R/Library/4.2/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.2/x86_64-linux-gnu/RcppGSL/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c GSLPoisson.cpp -o GSLPoisson.o
g++-11  -std=gnu++14 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/include -I'/home/hornik/lib/R/Library/4.2/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.2/x86_64-linux-gnu/RcppGSL/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c RcppExports.cpp -o RcppExports.o
g++-11 -std=gnu++14 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o ltable.so GSLPoisson.o RcppExports.o -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -L/home/hornik/tmp/R/lib -lR
installing to /srv/hornik/tmp/CRAN/ltable.Rcheck/00LOCK-ltable/00new/ltable/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
Warning in file(con, "w") :
  cannot open file ‘/srv/hornik/tmp/CRAN/ltable.Rcheck/00LOCK-ltable/00new/ltable/doc/index.html’: No such file or directory
Calls: <Anonymous> ... installer -> .writeVignetteHtmlIndex -> writeLines -> file
Error in file(con, "w") : cannot open the connection
ERROR: installing vignettes failed
* removing ‘/srv/hornik/tmp/CRAN/ltable.Rcheck/ltable’

Please, help me out with issue 
I checked Google to no avail
Thanks. Oleksandr


	[[alternative HTML version deleted]]



More information about the R-help mailing list