ironwest / gtsummary_addin

Add-in for interactively manipulating gtsummary package functions.
MIT License
7 stars 1 forks source link

Unable to install Addin #14

Closed BLMoran closed 2 years ago

BLMoran commented 3 years ago

I've tried to install the add-in, but get the following error message:

devtools::install_github("ironwest/gtsummary_addin") Downloading GitHub repo ironwest/gtsummary_addin@HEAD √ checking for file 'C:\Users\benja\AppData\Local\Temp\RtmpKIDiLF\remotes1a844f7212b7\ironwest-gtsummary_addin-bc7b404/DESCRIPTION' (1.1s)

  • preparing 'gtsummaryAddin': (868ms) √ checking DESCRIPTION meta-information ... Warning: C:/Users/benja/AppData/Local/Temp/RtmpKIlaX1/Rbuild147c529b1319/gtsummaryAddin/man/add_p_tbl_summary_test.Rd:6: unexpected section header '\usage' Warning: C:/Users/benja/AppData/Local/Temp/RtmpKIlaX1/Rbuild147c529b1319/gtsummaryAddin/man/add_p_tbl_summary_test.Rd:9: unexpected section header '\value' Warning: C:/Users/benja/AppData/Local/Temp/RtmpKIlaX1/Rbuild147c529b1319/gtsummaryAddin/man/add_p_tbl_summary_test.Rd:12: unexpected section header '\description' Warning: C:/Users/benja/AppData/Local/Temp/RtmpKIlaX1/Rbuild147c529b1319/gtsummaryAddin/man/add_p_tbl_summary_test.Rd:15: unexpected END_OF_INPUT ' '
  • checking for LF line-endings in source and make files and shell scripts (414ms)
  • checking for empty or unneeded directories
  • building 'gtsummaryAddin_0.0.0.9000.tar.gz'

Installing package into ‘C:/Users/benja/OneDrive/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)

Any idea what's going on?

Thanks,

Ben

ironwest commented 3 years ago

Hi @BLMoran Apology for the slow response. The error you reported due to bad documentation. I corrected the documentation so, the package should be able to install now.

BLMoran commented 3 years ago

Thanks for that. When I try to open the addin, I get this error message.

trial <- trial gtsummaryAddin:::tbl_summary_addin() Error in use_bs_popover() : could not find function "use_bs_popover"

The addin works when I load the bsplus library, but should this not work without having to load it?

Thanks,

Ben

ironwest commented 3 years ago

@BLMoran Thanks for the recommendation. I forgot to update the NAMESPACE file. Now, the package should automatically be loaded.