CRAN Package Check Results for Maintainer ‘Michael D. Hunter <mike.dynr at gmail.com>’

Last updated on 2022-08-15 08:50:30 CEST.

Package ERROR NOTE OK
dynr 1 8 4

Package dynr

Current CRAN status: ERROR: 1, NOTE: 8, OK: 4

Version: 0.1.16-27
Check: installed package size
Result: NOTE
     installed size is 5.3Mb
     sub-directories of 1Mb or more:
     data 2.5Mb
     doc 1.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.16-27
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘Rdpack’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.1.16-27
Check: examples
Result: 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
Flavor: r-devel-windows-x86_64