* using log directory 'd:/Rcompile/CRANpkg/local/4.6/pfr.Rcheck' * using R version 4.6.1 (2026-06-24 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-08-12 19:33:19 UTC * checking for file 'pfr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pfr' version '1.0.1' * package encoding: UTF-8 * 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 'pfr' can be installed ... OK * checking installed package size ... OK * 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] 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 ... [2s] OK * checking Rd files ... [0s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [0s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [24s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [1s] OK * DONE Status: OK Check process probably crashed or hung up for 20 minutes ... killed Most likely this happened in the example checks (?), if not, ignore the following last lines of example output: $header_code [1] "// replace every instance of with your own code! \n\n#ifndef COOLMOD_BSF_H\n#define COOLMOD_BSF_H\n\n#include \"pf/bootstrap_filter.h\" // the bootstrap particle filter\n#include \"pf/rv_samp.h\" \t\t\t // for sampling random numbers\n#include \"pf/rv_eval.h\" \t\t\t // for evaluating densities and pmfs\n#include \"pf/resamplers.h\" \t\t // for resampling classes\n\nusing namespace pf;\nusing namespace pf::filters;\nusing namespace pf::resamplers;\n\n#define nparts_COOLMOD_BSF // number of particles\n#define dimstate_COOLMOD_BSF // dimension of state vectors\n#define dimobs_COOLMOD_BSF // dimension of observation vectors\n#define dimparam_COOLMOD_BSF // dimension of parameters\n\n// helper type aliases\nusing resampT = mn_resamp_fast1;\nusing svec = Eigen::Matrix ;\nusing ovec = Eigen::Matrix ;\nusing param_vec = Eigen::Matrix ;\nusing DynMat = Eigen::Matrix ;\nusing func = std::function ;\nusing BasePF = BSFilter ;\n\n\n/**\n * @brief a particle filter class template for a TODO model\n *\n */\nclass Coolmod_bsf : public BasePF\n{\nprivate:\n\n // example parameter\n param_vec m_params;\n\n // use this for sampling\n rvsamp::UnivNormSampler m_example_stdNormSampler; \n \n // required by algorithm and required to define your model\n double logMuEv (const svec &x1);\n auto q1Samp (const ovec &y1) -> svec;\n double logQ1Ev (const svec &x1, const ovec &y1);\n double logGEv (const ovec &yt, const svec &xt);\n auto fSamp (const svec &xtm1) -> svec;\n \npublic:\n\n // constructor\n Coolmod_bsf();\n \n};\n\n#endif // COOLMOD_BSF_H" $source_code [1] "// replace every instance of with your own code! \n\n\nCoolmod_bsf::Coolmod_bsf()\n{\n // TODO: instantiate m_params, etc.\n}\n\n\ndouble Coolmod_bsf::logMuEv(const svec &x1)\n{\n // \n}\n\n\nauto Coolmod_bsf::q1Samp(const ovec &y1) -> svec\n{\n // \n}\n\n\ndouble Coolmod_bsf::logQ1Ev(const svec &x1, const ovec &y1)\n{\n // \n}\n\n\ndouble Coolmod_bsf::logGEv(const ovec &yt, const svec &xt)\n{\n // \n}\n\n\nauto Coolmod_bsf::fSamp(const svec &xtm1) -> svec\n{\n // \n}\n" > > ## Not run: > ##D # save three files to Desktop, and > ##D # begin editing them in rstudio IDE > ##D createPFCPPTemplates("coolmod", "BSF", fileDir = "~/Desktop/") > ## End(Not run) > > > > ### *