Hi all,

I realise this might not be strictly a phylogeny-related issue, but it might be 
as it relates to geiger and in any case the CRAN Core Team have left me at an 
impasse trying to get an update to windex through to CRAN (just repeating the 
error message then ignoring messages asking for clarification or advice on 
fixing it). Hopefully it's relevant enough to this list to be OK.

When trying to submit an update to the package, all Debian checks are coming 
back fine, but there is one note in the Windows checks that is stopping the 
process. The note reads:-

"windex: no visible global function definition for 'rescale'
Undefined global functions or variables:
  rescale"

However, geiger (the package which contains rescale) is listed as a dependency 
in the DESCRIPTION and is imported in the NAMESPACE, so rescale should 
definitely be there. Combined with the lack of issue flagged by Debian checks 
(which presumably would also check basic things like 'do the functions exist') 
and the fact that this issue hasn't occurred in previous version submitted to 
CRAN (nothing has changed with respect to the use of the rescale function), I 
am at a loss.

In case it helps, the contents of the DESCRIPTION and NAMESPACE files are as 
follows:-

DESCRIPTION file:
Package: windex
Type: Package
Title: Analysing Convergent Evolution using the Wheatsheaf Index
Version: 2.0.4
Date: 2023-02-23
Author: Kevin Arbuckle and Amanda Minter
Maintainer: Kevin Arbuckle 
kevin.arbuc...@swansea.ac.uk<mailto:kevin.arbuc...@swansea.ac.uk>
Description: Analysing convergent evolution using the Wheatsheaf index, 
described in Arbuckle et al. (2014) <doi: 10.1111/2041-210X.12195>, and some 
other unrelated but perhaps useful functions.
License: GPL-2
Depends: phytools, geiger (>= 2.0), ape (>= 4.0), phangorn, scatterplot3d, 
utils, methods, R (>= 3.0.0)
Packaged: 2023-02-23 12:36:50 UTC; karbuckle

NAMESPACE file:
exportPattern("^[^\\.]")
import(ape,utils,scatterplot3d)
importFrom("graphics", "abline", "hist", "legend", "points", "arrows", 
"plot","text","polygon")
importFrom("stats", "dist", "quantile", "sd", "var", "AIC", "BIC", "logLik", 
"na.omit", "pchisq", "shapiro.test","model.frame","density")
importFrom("methods", "is")
importFrom("phytools", "findMRCA", "nodeHeights")
importFrom("geiger", "rescale", "ratematrix", "sim.char")
importFrom("phangorn", "CI", "as.phyDat", "Children", "Descendants")


Any advice on how to resolve this would be welcome. Note that originally I had 
imported geiger (and phangorn) as import rather than importFrom in the 
NAMESPACE, but the current version was an attempt to resolve the issue and 
didn't work in that the same note is coming back every time.

Best wishes,
Kev

Dr Kevin Arbuckle
Athro Cyswllt (Darllenydd) mewn Biowyddorau (Bioleg Esblygiadol) / Associate 
Professor (Reader) in Biosciences (Evolutionary Biology)
Adran Biowyddorau / Department of Biosciences
Cyfadran Gwyddoniaeth a Pheirianneg / Faculty of Science and Engineering
Prifysgol Abertawe  / Swansea University
Abertawe / Swansea
SA2 8PP
UK

Rhowch wybod i ni os hoffech dderbyn eich gohebiaeth yn Gymraeg. Rydym yn 
croesawu gohebiaeth yn Gymraeg neu yn Saesneg. Ni fydd gohebu yn Gymraeg yn 
arwain at oedi.


        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to