[R-pkg-devel] doi confusion and Data codoc mismatches

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Sun Dec 26 06:07:39 CET 2021


Hello, All:


	  The latest checks on 
"https://github.com/sbgraves237/Ecdat/runs/4634725654?check_suite_focus=true" 
identify two problems I don't know how to fix:


FIRST:  Data codoc mismatches from documentation object 'USnewspapers':
   Variables in data frame 'USnewspapers'
     Code: AdsProportion Ads_G2012dollars Ads_currentGdollars
           Circ_G2012dollars Circ_currentGdollars GDP_G2012 GDP_nominalG
           Population_M RevenuePerCap_2012 RevenuePerCap_nominal
           Revenue_G2012dollars Revenue_currentGdollars Year
           newspapers_p_GDP
     Docs: Ads_G2012dollars Circ_G2012dollars Circ_currentGdollars
           Revenue_G2012dollars Revenue_currentGdollars AdsProportion
           Ads_currentGdollars GDP_G2012 GDP_nominalG Population_M
           RevenuePerCap_2012 RevenuePerCap_nominal Year newspapers_p_GDP


	  I believe that the column names in the data.frame 'USnewspapers' 
match the names in the order given in the *.Rd file and the variable 
list following "Code" here matches that following "Docs" using, e.g., 
sort(scan(what=character())).


SECOND:  Found the following URLs which should use \doi (with the DOI 
name only):
     File 'AccountantsAuditorsPct.Rd':
       https://doi.org/10.18128/D010.V8.0
     File 'OCC1950.Rd':
       https://doi.org/10.18128/D010.V10.0


	  My concern here is that these two urls are in, e.g., 
\href{https://doi.org/10.18128/D010.V8.0}{text to display to click to 
link to the doi url}.  If it were, e.g., 
\url{https://doi.org/10.18128/D010.V8.0} I would try replacing it with 
\doi{10.18128/D010.V8.0}.  However, if I do that, I don't know what to 
do with the "text to display to click to link to the doi url".


	  Thanks,
	  Spencer Graves



More information about the R-package-devel mailing list