[R-pkg-devel] could not find function of a package
I have found Travis CI, which can check your package every time you push to GitHub useful - you can set it up to build and check your package against the current version of R and R-devel. See http://juliasilge.com/blog/Beginners-Guide-to-Travis/ and https://docs.travis-ci.com/user/languages/r It takes a little time to setup, but then it checks continuously so that you can identify failures quickly The package rhub on GitHub is perhaps easier to use than Travis CI and can check on multiple platforms and versions of R - See http://blog.revolutionanalytics.com/2016/10/r-hub-public-beta.html cheers, Merlise Clyde
On May 25, 2017, at 5:02 PM, Duncan Murdoch <murdoch.duncan at gmail.com<mailto: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:akumar at stat.tamu.edu><mailto:arnabkrmaity at stat.tamu.edu> arnabkrmaity at tamu.edu<mailto: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
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 https://urldefense.proofpoint.com/v2/url?u=http-3A__r-2Dpkgs.had.co.nz_namespace.html&d=DwICAg&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=49_J_2dojy0jmsH9-5Lx9jR3-W3R6HDkU3IZPYh44Sk&s=hFUBNuDqLZPmHekINf4cBGQiBNxQqoqpYKh46PRK5RQ&e= <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://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dpackage-2Ddevel&d=DwICAg&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=49_J_2dojy0jmsH9-5Lx9jR3-W3R6HDkU3IZPYh44Sk&s=I48tKCPSogP0O6wslXd0tjdyaDxsQNB2vf_jpWzUWAw&e= ______________________________________________ R-package-devel at r-project.org<mailto:R-package-devel at r-project.org> mailing list https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dpackage-2Ddevel&d=DwICAg&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=NOkxkvdFOOffXzeTY2kgZQ&m=49_J_2dojy0jmsH9-5Lx9jR3-W3R6HDkU3IZPYh44Sk&s=I48tKCPSogP0O6wslXd0tjdyaDxsQNB2vf_jpWzUWAw&e=