parseThemesXML package:reposTools R Documentation _A _f_u_n_c_t_i_o_n _t_o _r_e_a_d _r_e_p_o_s_i_t_o_r_y _t_h_e_m_e _X_M_L _D_e_s_c_r_i_p_t_i_o_n: This function will read in a repository theme XML file and output a RDA file with a list of 'reposTheme' objects specifying the themes for a repository. _U_s_a_g_e: parseThemesXML(repTXML = "repThemes.xml", repTrda = "repThemes.rda", repDrda = "repdatadesc.rda") _A_r_g_u_m_e_n_t_s: repTXML: Filename of the input XML file. repTrda: Filename of the output RDA file. repDrda: Filename of the repdatadesc file for this repository. _D_e_t_a_i_l_s: This function is used by 'genRepos' to convert the 'repThemes.xml' file which specifies any repository themes in XML format into a list of 'reposTheme' objects and stores them in a file named 'repThemes.rda'. The 'repdatadesc.rda' file must be used for cases where there is no package version specified for a package in a theme - in which case, 'parseThemesXML' will determine the highest version of that package in the repository and use that for the package version of the theme. _A_u_t_h_o_r(_s): Jeff Gentry _S_e_e _A_l_s_o: 'themes', 'reposTheme-class', 'genRepos' _E_x_a_m_p_l_e_s: ## Using non-default filenames solely for this example exXMLfile <- system.file(file.path("themes", "repThemes.xml"), package="reposTools") exDDfile <- system.file(file.path("themes", "repdatadesc.rda"), package="reposTools") exOutfile <- tempfile() parseThemesXML(repTXML=exXMLfile, repTrda=exOutfile, repDrda=exDDfile)