R Under development (unstable) (2024-08-29 r87078 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > library(pkgKitten) > > demo("simpleDemo", package="pkgKitten") demo(simpleDemo) ---- ~~~~~~~~~~ > library(pkgKitten) > setwd(tempdir()) # which gets deleted anyway > kitten("simpleTest") # unfortunately testing fails :-/ Creating directories ... Creating DESCRIPTION ... Creating NAMESPACE ... Creating Read-and-delete-me ... Saving functions and data ... Making help files ... Done. Further steps are described in './simpleTest/Read-and-delete-me'. Adding pkgKitten overrides. >> added .gitignore file >> added .Rbuildignore file >> added tinytest support First time using roxygen2. Upgrading automatically... Setting `RoxygenNote` to "7.3.2" ℹ Loading simpleTest ✖ Skipping 'NAMESPACE' ℹ It already exists and was not generated by roxygen2. Writing 'hello2.Rd' Deleted 'Read-and-delete-me'. Done. Consider reading the documentation for all the packaging details. A good start is the 'Writing R Extensions' manual. And run 'R CMD check'. Run it frequently. And think of those kittens. > R <- shQuote(file.path(R.home(component="bin"), "R")) > Sys.setenv("R_TESTS"="") # needed for R CMD check; thanks for the tip, Hadley > Sys.setenv("R_LIBS"=paste(.libPaths(), collapse=.Platform$path.sep)) > system(paste(R, "CMD build simpleTest")) * checking for file 'simpleTest/DESCRIPTION' ... OK * preparing 'simpleTest': * checking DESCRIPTION meta-information ... OK * installing the package to process help pages * saving partial Rd database * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories * building 'simpleTest_1.0.tar.gz' [1] 0 > system(paste(R, "CMD check simpleTest_1.0.tar.gz")) * using log directory 'D:/temp/Rtmp0aOLkq/simpleTest.Rcheck' * using R Under development (unstable) (2024-08-29 r87078 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'simpleTest/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'simpleTest' version '1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'CRAN ' New submission DESCRIPTION fields with placeholder content: Description: more about what it does (maybe more than one line). * 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 serialization versions ... OK * checking whether package 'simpleTest' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... WARNING Error in find.package(package, lib.loc) : there is no package called 'MASS' Calls: -> lapply -> FUN -> find.package Execution halted * 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'tinytest.R' OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 WARNING, 1 NOTE See 'D:/temp/Rtmp0aOLkq/simpleTest.Rcheck/00check.log' for details. [1] 0 > > > > proc.time() user system elapsed 0.96 0.25 35.06