subugoe / metacheck

Automatically check metadata compliance for hybrid open access (OA).
http://subugoe.github.io/metacheck/
GNU Affero General Public License v3.0
8 stars 1 forks source link

fix notes from NSE #127

Open maxheld83 opened 3 years ago

maxheld83 commented 3 years ago

Many of not all remaining NOTES are probably due to NSE:

❯ checking R code for possible problems ... NOTE
  cc_compliance_metrics: no visible binding for global variable
    ‘check_result’
  cc_compliance_metrics: no visible binding for global variable ‘value’
  cc_compliance_metrics: no visible binding for global variable ‘prop’
  cc_metrics: no visible binding for global variable ‘cc_norm’
  cc_metrics: no visible binding for global variable ‘value’
  cc_metrics: no visible binding for global variable ‘prop’
  cr_compliance_overview: no visible binding for global variable ‘doi’
  cr_compliance_overview: no visible binding for global variable
    ‘cc_norm’
  cr_compliance_overview: no visible binding for global variable
    ‘check_result’
  cr_compliance_overview: no visible binding for global variable
    ‘container.title’
  cr_compliance_overview: no visible binding for global variable
    ‘publisher’
  cr_compliance_overview: no visible binding for global variable ‘issued’
  cr_compliance_overview: no visible binding for global variable
    ‘issued_year’
  cr_funder_df: no visible binding for global variable ‘doi’
  cr_funder_df: no visible binding for global variable ‘container.title’
  cr_funder_df: no visible binding for global variable ‘publisher’
  cr_funder_df: no visible binding for global variable ‘issued’
  cr_funder_df: no visible binding for global variable ‘issued_year’
  cr_funder_df: no visible binding for global variable ‘funder’
  cr_funder_df: no visible binding for global variable ‘DOI’
  cr_funder_df: no visible binding for global variable ‘doi.asserted.by’
  cr_has_orcid: no visible binding for global variable ‘doi’
  cr_has_orcid: no visible binding for global variable ‘author’
  cr_has_orcid: no visible binding for global variable ‘has_orcid’
  cr_license_ind: no visible global function definition for
    ‘license_normalise’
  cr_license_ind: no visible binding for global variable ‘doi’
  cr_license_ind: no visible binding for global variable ‘articles’
  cr_md_ind: no visible binding for global variable ‘abstract’
  cr_md_ind: no visible binding for global variable ‘reference’
  cr_md_ind: no visible binding for global variable ‘funder’
  cr_md_ind: no visible binding for global variable ‘author’
  cr_tdm_df: no visible binding for global variable ‘doi’
  cr_tdm_df: no visible binding for global variable ‘container.title’
  cr_tdm_df: no visible binding for global variable ‘publisher’
  cr_tdm_df: no visible binding for global variable ‘issued’
  cr_tdm_df: no visible binding for global variable ‘issued_year’
  cr_tdm_df: no visible binding for global variable ‘link’
  cr_tdm_df: no visible binding for global variable ‘content.version’
  cr_tdm_df: no visible binding for global variable
    ‘intended.application’
  cr_tdm_ind: no visible binding for global variable ‘link’
  cr_tdm_ind: no visible binding for global variable ‘doi’
  cr_tdm_ind: no visible binding for global variable ‘content.version’
  cr_tdm_ind: no visible binding for global variable
    ‘intended.application’
  cr_tdm_ind: no visible binding for global variable ‘content.type’
  emailReportServer : <anonymous>: no visible global function definition
    for ‘observe’
  emailReportServer : <anonymous>: no visible global function definition
    for ‘observeEvent’
  emailReportServer : <anonymous>: no visible global function definition
    for ‘withProgress’
  funder_metrics: no visible binding for global variable ‘name’
  funder_metrics: no visible binding for global variable ‘doi’
  funder_metrics: no visible binding for global variable ‘value’
  funder_metrics: no visible binding for global variable ‘prop’
  gather_ind_table: no visible binding for global variable ‘articles’
  gather_ind_table: no visible binding for global variable ‘prop’
  get_compliant_cc: no visible binding for global variable ‘cc_norm’
  get_compliant_cc: no visible binding for global variable
    ‘delay.in.days’
  get_cr_md: no visible binding for global variable ‘issued’
  get_delayed_license: no visible binding for global variable
    ‘content.version’
  get_delayed_license: no visible binding for global variable ‘cc_norm’
  get_delayed_license: no visible binding for global variable
    ‘delay.in.days’
  get_license_md: no visible binding for global variable ‘doi’
  get_license_md: no visible binding for global variable
    ‘content.version’
  get_license_md: no visible binding for global variable ‘URL’
  get_license_md: no visible binding for global variable ‘.’
  ind_table_to_gt: no visible binding for global variable ‘value’
  ind_table_to_gt: no visible binding for global variable ‘prop_bar’
  license_check: no visible binding for global variable ‘doi’
  license_check: no visible binding for global variable ‘cc_norm’
  license_check: no visible binding for global variable ‘check_result’
  license_check: no visible binding for global variable ‘URL’
  license_check: no visible binding for global variable ‘content.version’
  license_check: no visible binding for global variable ‘delay.in.days’
  license_check: no visible binding for global variable ‘container.title’
  license_check: no visible binding for global variable ‘publisher’
  license_check: no visible binding for global variable ‘issn’
  license_check: no visible binding for global variable ‘issued’
  license_check: no visible binding for global variable ‘issued_year’
  metrics_overview: no visible binding for global variable ‘has_cc’
  metrics_overview: no visible binding for global variable
    ‘has_compliant_cc’
  metrics_overview: no visible binding for global variable
    ‘has_tdm_links’
  metrics_overview: no visible binding for global variable
    ‘has_funder_info’
  metrics_overview: no visible binding for global variable ‘has_orcid’
  metrics_overview: no visible binding for global variable
    ‘has_open_abstract’
  metrics_overview: no visible binding for global variable
    ‘has_open_refs’
  metrics_overview: no visible binding for global variable ‘value’
  metrics_overview: no visible binding for global variable ‘prop’
  miss_tdm: no visible binding for global variable ‘doi’
  skip_if_not_smtp_auth: no visible global function definition for ‘skip’
  tdm_metrics: no visible binding for global variable ‘content.type’
  tdm_metrics: no visible binding for global variable ‘doi’
  tdm_metrics: no visible binding for global variable ‘value’
  tdm_metrics: no visible binding for global variable ‘prop’
  vor_issue: no visible binding for global variable ‘content.version’
  vor_issue: no visible binding for global variable ‘delay.in.days’
  vor_issue: no visible binding for global variable ‘cc_norm’
  vor_issue: no visible binding for global variable ‘doi’
  Undefined global functions or variables:
    . abstract articles author cc_norm check_result container.title
    content.type content.version delay.in.days doi DOI doi.asserted.by
    funder has_cc has_compliant_cc has_funder_info has_open_abstract
    has_open_refs has_orcid has_tdm_links intended.application issn
    issued issued_year license_normalise link name observe observeEvent
    prop prop_bar publisher reference skip URL value withProgress
maxheld83 commented 3 years ago

adhering to programming with dplyr best practices should fix (most of?) these, especially the .data pronoun.