Hi All, I am getting closer to finalizing the package. ?Below is all my information; ?Description, namespace, and check from R Studio. ?I know its basically lubridate as well as bond basis function. ?I re-read the section on environments in Advanced R as I was thinking this is environment related. ?I am going over the creating packages documentation now. ?Unfortunately, whatever I am missing is not getting into my coconut. ? Any ideas are appreciated. ? Here are my last issues: ? All declared Imports should be used. ?Not sure?what?this is telling me. ?I have the packages in imports No visible global function defined this seems like it all lubridate related. ? Here is the pertinent section from check ================================================* checking dependencies in R code ... NOTE Namespaces in Imports field not imported from: ? ?ggplot2? ?grid? ?lubridate? ?methods? ?optimx? ?plyr? ?reshape2? ? ?termstrc? ? All declared Imports should be used. See the information on DESCRIPTION files in the chapter ?Creating R packages? of the ?Writing R Extensions? manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE BondBasisConversion: no visible global function definition for ?day? BondBasisConversion: no visible global function definition for ?month? BondBasisConversion: no visible global function definition for ?year? Mtg.Scenario : ReturnAnalysis: no visible global function definition ? for ?%m+%? PrepaymentAssumption: no visible global function definition for ?%m+%? Schedule: no visible global function definition for ?%m+%? Here is my description file ========================================================Package: BondLab Type: Package Title: A package for the analysis of structured products Version: 0.0.0 Date: 2013-12-08 Author: Glenn Schultz, CFA Maintainer: Glenn Schultz <glennmschultz at me.com> Description: The package provides a suite of software utilities for the analysis of Mortgage and Asset Backed securities LazyLoad: yes License: GPL(>=3.0) Imports: termstrc,? ? ? ? ? ? reshape2,? ? ? ? ? ? ggplot2,? ? ? ? ? ? lubridate,? ? ? ? ? ? methods,? ? ? ? ? ? plyr,? ? ? ? ? ? grid,? ? ? ? ? ? optimx Suggests: knitr, ? ? ? ? ? devtools, ? ? ? ? ? testthat VignetteBuilder: knitr Here is my namespace ============================================================# Generated by roxygen2 (4.1.0): do not edit by hand export(CPR.To.SMM) export(DollarRoll) export(Effective.Convexity) export(Effective.Duration) export(EstimYTM) export(Mortgage.Monthly.Payment) export(MortgageCashFlow) export(PPC.Ramp) export(PassThroughAnalytics) export(PassThroughOAS) export(Rates) export(Remain.Balance) export(SMM.To.CPR) export(SMMVector.To.CPR) export(Sched.Prin) export(TimeValue) export(YTMtoPrice) export(bondprice) exportClasses(DollarRoll) exportClasses(MBSDetails) exportClasses(MortgageCashFlow) exportClasses(MortgageOAS) exportClasses(MortgageTermStructure) exportClasses(Mtg.Scenario) exportClasses(PrepaymentAssumption) exportClasses(Scenario) =============================================================Here is my full check ==> devtools::check() Updating BondLab documentation Loading BondLab '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD build ?\ ? '/Users/glennschultz/BondLab' --no-resave-data --no-manual? * checking for file ?/Users/glennschultz/BondLab/DESCRIPTION? ... OK * preparing ?BondLab?: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... OK * checking for LF line-endings in source and make files * checking for empty or unneeded directories * building ?BondLab_0.0.0.tar.gz? '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD check ?\ ? '/var/folders/tv/sq6gmnvs13j8jrhkt87f_zmc0000gn/T//RtmpiHfQ8g/BondLab_0.0.0.tar.gz' ?\ ? --timings? * using log directory ?/Users/glennschultz/BondLab.Rcheck? * using R version 3.1.2 (2014-10-31) * using platform: x86_64-apple-darwin13.4.0 (64-bit) * using session charset: UTF-8 * checking for file ?BondLab/DESCRIPTION? ... OK * checking extension type ... Package * this is package ?BondLab? version ?0.0.0? * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ?BondLab? 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 ... NOTE Non-standard files/directories found at top level: ? ?BondData? ?Groups? ?PrepaymentModel? ?RAID? ?RDME? ?REMICData? ? ?RatesData? ?Scenario? ?Schedules? ?Tranches? ?WaterFall? * 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 dependencies in R code ... NOTE Namespaces in Imports field not imported from: ? ?ggplot2? ?grid? ?lubridate? ?methods? ?optimx? ?plyr? ?reshape2? ? ?termstrc? ? All declared Imports should be used. See the information on DESCRIPTION files in the chapter ?Creating R packages? of the ?Writing R Extensions? manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE BondBasisConversion: no visible global function definition for ?day? BondBasisConversion: no visible global function definition for ?month? BondBasisConversion: no visible global function definition for ?year? Mtg.Scenario : ReturnAnalysis: no visible global function definition ? for ?%m+%? PrepaymentAssumption: no visible global function definition for ?%m+%? Schedule: no visible global function definition for ?%m+%? * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: ? ?CPR.To.SMM? ?DollarRoll? ?Effective.Convexity? ?Effective.Duration? ? ?EstimYTM? ?Mortgage.Monthly.Payment? ?MortgageCashFlow? ?PPC.Ramp? ? ?PassThroughAnalytics? ?PassThroughOAS? ?Rates? ?Remain.Balance? ? ?SMM.To.CPR? ?SMMVector.To.CPR? ?Sched.Prin? ?TimeValue? ?YTMtoPrice? ? ?bondprice? Undocumented S4 classes: ? ?DollarRoll? ?MBSDetails? ?MortgageCashFlow? ?MortgageOAS? ? ?MortgageTermStructure? ?Mtg.Scenario? ?PrepaymentAssumption? ? ?Scenario? All user-level objects in a package (including S4 classes and methods) should have documentation entries. See the chapter ?Writing R documentation files? in the ?Writing R Extensions? manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from ?inst/doc? ... OK * checking files in ?vignettes? ... OK * checking examples ... NONE * checking for unstated dependencies in tests ... OK * checking tests ... ? Running ?test-all.R? OK * checking for unstated dependencies in vignettes ... ?OK * checking package vignettes in ?inst/doc? ... OK * checking running R code from vignettes ... ? ??BondLab.Rmd? using ?UTF-8? ... OK ?OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE WARNING: There was 1 warning. NOTE: There were 3 notes. See ? ?/Users/glennschultz/BondLab.Rcheck/00check.log? for details. R CMD check succeeded