Np table in jobs.db or chinook.db on R studio

Hi,

I used this code below to connect to and check the tables in the chinook or jobs database but it says there are no tables everytime. I tried deleting and downloading the database file several times but it’s still thesame issue. Please help!

library(RSQLite)
library(DBI)

conn <- dbConnect(SQLite(), "jobs2.db")
dbListTables(conn)

What actually happened:

> conn <- dbConnect(SQLite(), 'jobs.db')
> dbListTables(conn)
character(0)

Please what’s hapenning?

Solved!
The issue was the directory in which R studio was working!