powered by
Check if package is installed locally.
p_isinstalled(package)
Name of package you want to check. This can be quoted or unquoted.
# NOT RUN { p_installed(pacman) p_installed(fakePackage) # }
Run the code above in your browser using DataLab