[R-pkg-devel] could not find function of a package

Dason Kurkiewicz dasonk at gmail.com
Thu May 25 23:13:14 CEST 2017


I also recommend reinstalling and making sure it works.  I also
recommend making sure you actually run roxygen either via roxygenize()
or devtools::document() to make sure that your changes get written to
the NAMESPACE file. Your NAMESPACE on your github is a few months old
still.

-Dason Kurkiewicz

On Thu, May 25, 2017 at 5:02 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 25/05/2017 4:55 PM, Maity, Arnab K wrote:
>>
>> ?Thank you all for your kind replies. I made the necessary changes. Now in
>> order to make the changes available on CRAN, do I resubmit the package after
>> changing the version?
>
>
> Yes, though I'd try installing the new one from the tarball on a different
> computer and testing it there first, to be sure that there aren't any other
> problems with it.
>
> Duncan Murdoch
>
>>
>>
>>
>>
>> Arnab Kumar Maity
>> Department of Statistics
>> Texas A&M University
>> 3143 TAMU, Room 401A
>> College Station, TX 77843
>> akumar at stat.tamu.edu<mailto:arnabkrmaity at stat.tamu.edu>
>> arnabkrmaity at tamu.edu
>> +1 779 777 3428<tel:%2B1%20779%20777%203428>
>> ________________________________
>> From: Merlise Clyde, Ph.D. <clyde at duke.edu>
>> Sent: Thursday, May 25, 2017 8:25 AM
>> To: Maity, Arnab K
>> Cc: r-package-devel at r-project.org
>> Subject: Re: [R-pkg-devel] could not find function of a package
>>
>> If you are using roxygen2 for documentation and want to export a function
>> add  a line with
>>
>> #' @export
>>
>> to the .R file as part of the function documentation.   Running
>> devtools::document() should  then update the NAMESPACE
>>
>> See
>> http://r-pkgs.had.co.nz/namespace.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__r-2Dpkgs.had.co.nz_namespace.html&d=DwMFAg&c=ODFT-G5SujMiGrKuoJJjVg&r=0B-9Fzm1-9L5x99EIv3gHtKtIiJ6IOXiZVDz5DZx0es&m=6s_Kmc2g4TZsQ6D_LYvan4kACr_mI6jRW4GXj6tXCSA&s=oecp4YLINB8w-ecFDLqjDlRX5bMNdJZZobcOVXZVkPU&e=>
>>
>>
>> On May 25, 2017, at 8:55 AM, Duncan Murdoch
>> <murdoch.duncan at gmail.com<mailto:murdoch.duncan at gmail.com>> wrote:
>>
>> arnabkrmaity/brlrmr
>>
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-package-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list