### ** Examples … Error: could not find function building packages in R
问题 I have created a package named test and I have a function named lad inside it. When I build it and after check it with cran=TRUE , I receive the following error. Any idea what's going wrong? * checking examples ... ERROR Running examples in 'test-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: lad > ### Title: LAD > ### Aliases: lad > > ### ** Examples > > lad(y = "farm", x = "land", data="http://pages.stat.wisc.edu/