Confused about installing packages

Hi everybody, I am new to R Studio and I have to download these packages but this appears.
Can someone please clarify for me what it means please.

My r code chunk :

rm(list = ls())

#install.packages("jtools")
#install.packages("readstata13")

install.packages("jtools")
install.packages("readstata13")
library(tidyverse)
library(readstata13) # Permet de lire les données de Stata (autre logiciel statistique)
library(stargazer)  # crée de jolie tableaux de régression
library(summarytools)
library(jtools)
library(readstata13)

Then this appears:

trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/jtools_2.1.4.tgz'
Content type 'application/x-gzip' length 2531188 bytes (2.4 MB)

downloaded 2.4 MB

The downloaded binary packages are in
/var/folders/ty/7jkfz0h92zxb9x_88rl4_s7h0000gn/T//RtmpWUoHN1/downloaded_packages
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/readstata13_0.10.0.tgz'
Content type 'application/x-gzip' length 935419 bytes (913 KB)

downloaded 913 KB

The downloaded binary packages are in
/var/folders/ty/7jkfz0h92zxb9x_88rl4_s7h0000gn/T//RtmpWUoHN1/downloaded_packages
Registered S3 methods overwritten by 'dbplyr':
method from
print.tbl_lazy
print.tbl_sql
── Attaching packages ─────────────────────────────────────────────────────────────────────────────────── tidyverse 1.3.1 ──
✓ ggplot2 3.3.5 ✓ purrr 0.3.4
✓ tibble 3.1.6 ✓ dplyr 1.0.7
✓ tidyr 1.1.4 ✓ stringr 1.4.0
✓ readr 2.1.1 ✓ forcats 0.5.1
── Conflicts ────────────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()

Please cite as:

Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables.
R package version 5.2.2. CRAN - Package stargazer

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Attaching package: ‘summarytools’

The following object is masked from ‘package:tibble’:

It looks like you are missing a systems file xcrun.

Are you an a Mac? IF so have alook at https://apple.stackexchange.com/questions/321858/xcrun-missing-installing-xcode-command-line-tools-not-fixing-issue which seems to describe the problem.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.