[R-pkg-devel] ‘Package required and available but unsuitable version’ and notes about examples execution time

Gianmarco Alberti g|@nm@rco@|bert| @end|ng |rom gm@||@com
Sun Mar 21 12:18:43 CET 2021


Hello,

I am in the process of testing a new version of my GmAMisc package before submitting it to CRAN.

I have checked it using:
(a) devtools::check_win_devel()
https://win-builder.r-project.org/T9yi5bawc203

(b) devtools::check_win_release()
https://win-builder.r-project.org/VACDopQ9QBMi

(c) devtools::check_win_oldrelease()
https://win-builder.r-project.org/yoIK3iE7IZqk

Now,
(a) returns 2 notes about functions’ examples whose execution time is larger than 10 sec
This didn’t happen when testing earlier versions of the same package. I did not make any major change to those functions, excluding updating some chunks of code to adapt them to the new structure of the ‘spatstat' package. Most of my functions whose execution time is larger than 10 sec are feature Monte Carlo-based resampling; I have tried to reduce the number of randomised iterations (e.g., from 199 to 99) but no significant changes were produced when it comes to the execution time.

(b) returns the same two notes as (a)

(c) returns 1 error:
Package required and available but unsuitable version: ‘spatstat.linnet'

I am wondering:
(1) are the 2 notes returned by (a) and (b) a relevant obstacle when it comes to getting my new version on CRAN? I am a little concerned because I do not know how to reduce the execution time further.

(2) why the difference between (a)-(b) and (c) when it comes to the error related to spatstat.linnet? Is the error returned by (c) fatal in anticipation of submitting the package to CRAN? If it is, how can I tackle that?


Thank you in advance for any help on the above issues.

Best
Gm

************************************************
Dr Gianmarco Alberti (PhD Udine)
Lecturer in Spatial Forensics
Coordinator of the BA dissertations
Department of Criminology
Faculty for Social Wellbeing
Room 332, Humanities B (FEMA)
University of Malta, Msida, Malta (Europe) - MSD 2080
tel +356 2340 3718

Academic profiles
https://www.researchgate.net/profile/Gianmarco_Alberti4
https://malta.academia.edu/GianmarcoAlberti

Google Scholar profile
https://scholar.google.com/citations?user=tFrJKQ0AAAAJ&hl=en

Correspondence Analysis website
http://cainarchaeology.weebly.com/

R packages on CRAN:
CAinterprTools
https://cran.r-project.org/web/packages/CAinterprTools/index.html

GmAMisc
https://cran.r-project.org/package=GmAMisc

movecost
https://cran.r-project.org/web/packages/movecost/index.html
************************************************

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list