The package pkgmaker provides implementeations of features commonly used when developing R packages:
Package specific options, with the possibility of defining multiple subsets
Multiple registries based on the registry package
Unified environment/namespace access functions that work in both production mode (build/check/install)
and development mode, when loading code with the package devtools.
The package pkgmaker is available from CRAN at http://cran.r-project.org/web/packages/pkgmaker.
The development project is hosted on R-forge at http://r-forge.r-project.org/projects/pkgmaker/
add_libaddnames(addnames.array, addnames.default, addnames.matrix, addnames.vector)addToLoggeralphacolcgetAnywherecheckWarningcitecmdcompile_srcexitCheckexpand_list(expand_dots)ExposeAttribute(attr_mode, attr_mode<-)extractLocalFun(allFormals)file_extensiongetLoadingNamespace(addNamespaceExport, isDevNamespace, isLoadingNamespace, isNamespaceLoaded)graphics-utils(mfrow)hasArg2hasEnvarinstall.dependenciesinSweaveisCRANcheck(isCHECK, isCRAN_timing)is_something(hasNames, is.dir, isFALSE, is.file, isInteger, is_NA, isNumber, isReal, isString)latex_preamble(latex_bibliography)list.libs(libname)makeFakeVignettemakeUnitVignettemkoptions(.options)new2oneoffVariableonLoad(onUnload)option_symlink(as.package_options, is_option_symlink, listPackageOptions, option_symlink_target, [[.package_options, packageOptions)orderVersion(sortVersion)packageData(ldata)packageEnv(as.package, isPackageInstalled, packageName, packagePath, str_ns, topns, topns_name)packageReferencepackageReferenceFilepackageRegistry(hasPackageRegistry, packageRegistries, setPackageRegistry, setPackageRegistryEntry)packageTestEnvpostponeAction(runPostponedAction)quickinstallregfetch(pkgreg_fetch, pkgreg_remove)requirePackagerequire.quietrequireRUnitR.exec(R.CMD, R.SHLIB)rnw(as.rnw, compactVignettes, rnwChildren, rnwCompiler, rnwDriver, rnwIncludes, rnwWrapper, vignetteMakefile)RversionsetBiocMirror(CRAN, getBiocMirror, getBiocRepos, setCRANMirror)setClassRegistrysetPackageExtraHandler(install.extrapackages, install.extras, packageExtra, packageExtraHandler, packageExtraRunner, setPackageExtra)setupPackageOptionssimpleRegistrysource_filesstr_diffstr_out(str_desc, str_fun)sVariabletestRversionunit.testuserIsutest(utest,character-method, utest,function-method, utest-methods, utest,RUnitTestSuite-method)utestFrameworkutestPathwrite.bibwriteUnitVignette