While we can continue with the name healthgps-plots, it not a valid package name.
Here are some ways to find an available and valid R package name (this will also help avoid the Malformed package name error during the build and you don't have to manually update files (like NAMESPACE) that can instead be automatically updated):
Suggest a name based on the description of what the script does:
available::suggest(text="A set of scripts for plotting and visualising data related to Health-GPS")
# Output
# healthgpsrvis
Check if a package name is available using the R package available:
available::available("healthpgpsrvis")
# Output
# ── healthpgpsrvis #────────────────────────────────────────────────────────────
# Name valid: ✔
# Available on CRAN: ✔
# Available on Bioconductor: ✔
# Available on GitHub: ✔
# Abbreviations: http://www.abbreviations.com/healthpgpsrvis
# Wikipedia: https://en.wikipedia.org/wiki/healthpgpsrvis
# Wiktionary: https://en.wiktionary.org/wiki/healthpgpsrvis
# Sentiment:???
OR
Check if the package name is available using the R package pak:
pak::pkg_name_check("healthgpsrvis", dictionaries = NULL)
# Output
╔════════════════════════════════════════════════════════════════════════════╗
║ –*– healthgpsrvis –*– ║
╚════════════════════════════════════════════════════════════════════════════╝
┌────────────────────────────────────────────────────────────────────────────┐
│ ✔ valid name ✔ CRAN ✔ Bioconductor │
│ ✔ not a profanity │
└────────────────────────────────────────────────────────────────────────────┘
┌ Wikipedia ─────────────────────────────────────────────────────────────────┐
│ Healthgpsrvis No definition found │
└────────────────────────────────────────────────────────────────────────── ┘
┌ Wiktionary ────────────────────────────────────────────────────────────────┐
│ healthgpsrvis No English definition found │
└────────────────────────────────────────────────────────────────────────── ┘
┌────────────────────────────────────────────────────────────────────────────┐
│ Sentiment: :| (0) │
└────────────────────────────────────────────────────────────────────────────┘
While we can continue with the name
healthgps-plots
, it not a valid package name.Here are some ways to find an available and valid R package name (this will also help avoid the
Malformed package name
error during the build and you don't have to manually update files (likeNAMESPACE
) that can instead be automatically updated):Suggest a name based on the description of what the script does:
Check if a package name is available using the R package
available
:OR
Check if the package name is available using the R package
pak
: