* using log directory 'd:/Rcompile/CRANpkg/local/4.3/dynr.Rcheck' * using R Under development (unstable) (2022-08-11 r82713 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'dynr/DESCRIPTION' ... OK * this is package 'dynr' version '0.1.16-27' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'dynr' can be installed ... OK * checking installed package size ... NOTE installed size is 5.7Mb sub-directories of 1Mb or more: data 2.5Mb doc 1.5Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [30s] OK * checking Rd files ... [7s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] ERROR Running examples in 'dynr-Ex.R' failed The error most likely occurred in: > ### Name: coef.dynrModel > ### Title: Extract fitted parameters from a dynrCook Object > ### Aliases: coef.dynrCook coef.dynrModel coef<- coef<-.dynrModel > > ### ** Examples > > # Create a minimal cooked model called 'cook' > require(dynr) > > meas <- prep.measurement( + values.load=matrix(c(1, 0), 1, 2), + params.load=matrix(c('fixed', 'fixed'), 1, 2), + state.names=c("Position","Velocity"), + obs.names=c("y1")) > > ecov <- prep.noise( + values.latent=diag(c(0, 1), 2), + params.latent=diag(c('fixed', 'dnoise'), 2), + values.observed=diag(1.5, 1), + params.observed=diag('mnoise', 1)) > > initial <- prep.initial( + values.inistate=c(0, 1), + params.inistate=c('inipos', 'fixed'), + values.inicov=diag(1, 2), + params.inicov=diag('fixed', 2)) > > dynamics <- prep.matrixDynamics( + values.dyn=matrix(c(0, -0.1, 1, -0.2), 2, 2), + params.dyn=matrix(c('fixed', 'spring', 'fixed', 'friction'), 2, 2), + isContinuousTime=TRUE) > > data(Oscillator) > data <- dynr.data(Oscillator, id="id", time="times", observed="y1") > > model <- dynr.model(dynamics=dynamics, measurement=meas, + noise=ecov, initial=initial, data=data) > > cook <- dynr.cook(model, + verbose=FALSE, optimization_flag=FALSE, hessian_flag=FALSE) Warning in file(file, ifelse(append, "a", "w")) : cannot open file 'D:/temp/RtmpoX4K/file1821c6fc32738.c': No such file or directory Error in file(file, ifelse(append, "a", "w")) : cannot open the connection Calls: dynr.cook ... .C2funcaddress -> CompileCode -> write -> cat -> file Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [130s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE